X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Ffilter_http_file.cpp;fp=src%2Ffilter_http_file.cpp;h=4c40c3397b8440f39c4d1f434a30cc79d3a325f4;hb=bba94e786e0ef6a2a3f1af8026d93c73302cab29;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..4c40c33 100644 --- a/src/filter_http_file.cpp +++ b/src/filter_http_file.cpp @@ -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