translate-shell icon indicating copy to clipboard operation
translate-shell copied to clipboard

Make HTTP connections more robust upon termination by handling Content-Length and Chunks

Open txthinking opened this issue 1 year ago • 0 comments

Currently it's based on timeout, but there may be proxies or CDNs that expect the client to close the connection, and assuming a timeout value is not a perfect solution. According to the HTTP protocol, the client has the ability to know when the complete body has been received.

txthinking avatar Sep 03 '24 09:09 txthinking