cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: PATCH: Allow telnet to be used programatically.

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 31 Mar 2010 16:49:04 +0200 (CEST)

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?

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2010-03-31