diff --git a/modules/s_fetch.cc b/modules/s_fetch.cc index 50d00b2df..4c0346e09 100644 --- a/modules/s_fetch.cc +++ b/modules/s_fetch.cc @@ -782,6 +782,7 @@ catch(const http::error &e) }; server::cancel(request); + request.origin = {}; return false; } catch(const std::exception &e) @@ -797,6 +798,7 @@ catch(const std::exception &e) }; server::cancel(request); + request.origin = {}; return false; }