cURL / Mailing Lists / curl-library / Single Mail


Re: not receiving CURLMSG_DONE or other end-of-transfer signals

From: Daniel Hardman <>
Date: Thu, 23 Apr 2015 00:11:29 -0600

>>>An instant later, more data arrives. How does libcurl find out? .. if
the application is using edge-triggered notifications (e.g., epoll() with
EPOLLET, or recent asio), the OS doesn't tell it that new data has arrived

This is wrong. I misread epoll's documentation. As long as we loop until we
receive EAGAIN, a subsequent call to epoll will again notify on the socket.

Yet the behavior I am seeing is a lack of notifications from epoll, causing
libcurl to wait forever to read more data on the socket.

Back to head-scratching...


List admin:
Received on 2015-04-23