curl-library
RE: sws test server with --fork
Date: Mon, 6 Aug 2012 17:50:41 +0000
> 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)
Joe
---------------------------------------------------------------------
This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-08-06