What to do with errors when streaming the body of an Http request
One of the following should do it: Close the connection (reset or normal close) Write a malformed chunk (and close the connection) which will trigger client error Add a http trailer telling your client that something went wrong. Change your higher level protocol. Last piece of data you send is a hash or a length … Read more