aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/pop3-multi.c
AgeCommit message (Collapse)Author
2014-11-19examples: Wait recommended 100ms when no file descriptors are readyJay Satiro
Prior to this change when no file descriptors were ready on platforms other than Windows the multi examples would sleep whatever was in timeout, which may or may not have been less than the minimum recommended value [1] of 100ms. [1]: http://curl.haxx.se/libcurl/c/curl_multi_fdset.html
2014-11-15examples: Don't call select() to sleep on windowsJay Satiro
Windows does not support using select() for sleeping without a dummy socket. Instead use Windows' Sleep() and sleep for 100ms which is the minimum suggested value in the curl_multi_fdset() doc. Prior to this change the multi examples would exit prematurely since select() would error instead of sleeping when called without an fd. Reported-by: Johan Lantz Bug: http://curl.haxx.se/mail/lib-2014-11/0221.html
2014-01-12examples: Fixed compilation errorsSteve Holme
error: 'MULTI_PERFORM_HANG_TIMEOUT' undeclared
2014-01-12pop3-multi.c: Corrected copy/paste typoSteve Holme
2014-01-12examples: Added POP3 multi exampleSteve Holme