On 03/31/2010 07:49 AM, Daniel Stenberg wrote:
On Thu, 25 Mar 2010, Ben Greear wrote:

Allow programatic use of telnet via libcurl.
The main change is to allow input from user-specified methods,
but in order to be backwards compatible, the user also has to set
the option CURLOPT_FORCE_USE_READFUNC to true.

Hm, couldn't it also just check if the callback is set to a custom one
or not? I mean, if left as default we could use the former functionality
but if the app actually sets its own callback and uses telnet it would
then use this new improved functionality?

Well, 'curl' sets a custom read method, but it doesn't want to use it
for telnet.  Maybe other apps do the same..and if so, unless we specifically
do the CURLOPT_FORCE_USE_READFUNC logic, it will break backwards compat.

Thanks,
Ben

--
Ben Greear <[email protected]>
Candela Technologies Inc  http://www.candelatech.com
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to