cURL / Mailing Lists / curl-library / Single Mail

curl-library

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

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 21 Apr 2015 23:29:14 +0200 (CEST)

On Tue, 21 Apr 2015, Daniel Hardman wrote:

> I've done some research. It appears that in 2009-2010, asio converted from
> level-triggered to edge-triggered mode in its use of epoll. If the
> asiohiper.cpp sample was written for a level-triggered version of asio, and
> has not been updated since, then it would likely hang when linked against
> edge-triggered. Does anybody know how old the sample is?

The example is from November 2012:
https://github.com/bagder/curl/commits/master/docs/examples/asiohiper.cpp

But then of course we don't know which asio version it was written to work
with - or if it really did work flawless even then.

My advice would be to not base code on the asio example until we have the asio
example working! =)

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2015-04-21