]> git.ipfire.org Git - thirdparty/curl.git/commit
asiohiper: improved socket handling
authorAulddays <github@aulddays.com>
Sat, 7 Jan 2017 14:32:55 +0000 (22:32 +0800)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 8 Jan 2017 15:39:36 +0000 (16:39 +0100)
commited2fcd54283179dfb2fa52c6c4b08e1f4db9632d
tree5b5b25800fc4d1c004162ac5ade97852ccb6f181
parent8805be2cf8aba9ed19f57408ea4485e4b41fccdf
asiohiper: improved socket handling

libcurl requires CURLMOPT_SOCKETFUNCTION to KEEP watching socket events
and notify back. Modify event_cb() to continue watching events when
fired.

Fixes #1191
Closes #1192
Fixed-by: Mingliang Zhu
docs/examples/asiohiper.cpp