You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • wrt network errors:

    What I do for the other stuff is if there's an error, I clean up everything I can and then just return -1 to and calls to send and recv. Once send or recv return -1, the HTTP client/server automatically shuts everything down.


Avatar for Gordon @Gordon started