cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: sws test server with --fork

From: Guenter <lists_at_gknw.net>
Date: Tue, 07 Aug 2012 00:03:44 +0200

Hi Joe,
Am 06.08.2012 19:50, schrieb Joe Mason:
>> From: curl-library [curl-library-bounces_at_cool.haxx.se] on behalf of Joe Mason
>> [jmason_at_rim.com]
>>
>> I noticed that all the existing includes in sws.c used autoconf "HAVE_FOO"
>> checks, which I didn't bother including while I was developing this - are
>> there any features that need to be wrapped for other platforms?
>
> In fact, there was one - fcntl(O_NONBLOCK - and there's an existing curlx_nonblock wrapper for it.
>
> I've updated to use curlx_nonblock and select - sws should be cross-platform again now.
>
> I also fixed the last 3 tests that were locking up, and reenabled them! The select version segfaulted instead of locking up, which made it easy to find.
>
> Patches are in https://github.com/JoeNotCharles/curl/commits/reset_fix (top 4 commits)
thanks very much for your hard work on this!

Gün.

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-08-07