Skip to content
This repository has been archived by the owner on Aug 31, 2021. It is now read-only.

simplehttp closecb for async handlers #45

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

simplehttp closecb for async handlers #45

mreiferson opened this issue Apr 12, 2012 · 0 comments

Comments

@mreiferson
Copy link
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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant