X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Ffilter_http_file.cpp;h=d036433bb5d80df4e0907781a73a2e29c3c402eb;hb=7e6c60abf88038e050951cf31b322f2883e815f7;hp=5e0d6c046b8d61dcadbbc3df951534ddd9f71aec;hpb=40387c8987ef9f01ca97bc5e89db2a35c328f9a3;p=metaproxy-moved-to-github.git diff --git a/src/filter_http_file.cpp b/src/filter_http_file.cpp index 5e0d6c0..d036433 100644 --- a/src/filter_http_file.cpp +++ b/src/filter_http_file.cpp @@ -1,5 +1,5 @@ /* This file is part of Metaproxy. - Copyright (C) 2005-2011 Index Data + Copyright (C) 2005-2012 Index Data Metaproxy is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free @@ -214,9 +214,7 @@ void yf::HttpFile::Rep::fetch_uri(mp::Session &session, } } } - mp::odr o; - Z_GDU *gdu = o.create_HTTP_Response(session, req, 404); - package.response() = gdu; + package.move(); } void yf::HttpFile::process(mp::Package &package) const