curl-users
Re: [PATCH] Non-blocking stdin on pipes/sockets for curl -T-
Date: Mon, 15 Jun 2009 23:17:26 +0200 (CEST)
On Sun, 7 Jun 2009, Eric Wong wrote:
Sorry for the dealy. My backlog has grown in a faster pace than I've managed
to work on items in it...
I applied and committed what you did so far!
>> Yeah, if that would be accessible. We could poke the libcurl code to at
>> least provide a curlx_ version so that we don't have to re-invent the code
>> for the curl tool, and then we'd get the non-blocking function fairly
>> portable.
>
> Yup, that'd be nice. Should we just replace the old one since with the
> curlx_nonblock() name since the old one was never public anyways?
Yes, that's exactly what I suggest. To make that as nice as possible, the
Curl_nonblock() function would need to be moved out from lib/connect.c into a
separate file so that it can be used independently of all the other functions
in the connect.c file.
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users FAQ: http://curl.haxx.se/docs/faq.html Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2009-06-15