simplehttp icon indicating copy to clipboard operation
simplehttp copied to clipboard

simplehttp closecb for async handlers

Open mreiferson opened this issue 13 years ago • 0 comments

because we don't currently explicitly set evhttp_connection_set_closecb there is a bug where asynchronous handlers could dereference invalid request or connection objects when the remote hangs up before the request was finished.

simplehttp could facilitate cleanly handling both success and failure cases.

mreiferson avatar Apr 12 '12 15:04 mreiferson