Reset error codes

fix #478
This commit is contained in:
Vinnie Falco
2017-07-20 08:12:20 -07:00
parent 7d92048c5c
commit ca109693fb
32 changed files with 276 additions and 67 deletions
+1
View File
@@ -122,6 +122,7 @@ public:
relay<true>(upstream.client, downstream.server, buffer, ec,
[&](header<true, fields>& h, error_code& ec)
{
ec = {};
h.erase("Content-Length");
h.replace("Transfer-Encoding", "chunked");
});