simplehttp closecb for async handlers #45

Open
mreiferson opened this Issue Apr 12, 2012 · 0 comments

Projects

None yet

1 participant

@mreiferson
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment