cURL / Mailing Lists / curl-library / Single Mail


Re: sws test server with --fork

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

Hi Joe,
Am 06.08.2012 19:50, schrieb Joe Mason:
>> From: curl-library [] on behalf of Joe Mason
>> []
>> 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 (top 4 commits)
thanks very much for your hard work on this!


List admin:
Received on 2012-08-07