curl-users
Re: [PATCH] Non-blocking stdin on pipes/sockets for curl -T-
From: Yang Tse <yangsita_at_gmail.com>
Date: Tue, 16 Jun 2009 02:28:53 +0200
Date: Tue, 16 Jun 2009 02:28:53 +0200
Relative to setting stdin to non-blocking...
Won't this break at least curl's telnet support when used as default
setting for everything?
Besides the different methods of setting a 'socket' to non-blocking
which is handled in the library with Curl_nonblock(). This introduces
a completely different portability problem. obviously stdin is not a
socket it is a 'special' file descriptor.
Since in order to use this for doing some client-side tunnelling the
http server must meet some specific requirements and option
--no-buffer must be used as well, why isn't all this behind a
non-default curl option?
My 2 cents.
-- -=[Yang]=- ------------------------------------------------------------------- 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-16