curl-library
Re: PATCH: Allow telnet to be used programatically.
Date: Mon, 19 Apr 2010 09:37:07 -0700
On 04/05/2010 11:01 AM, Ben Greear wrote:
> On 04/04/2010 02:14 PM, Daniel Stenberg wrote:
>
>> As long as when _not_ using any set callbacks it would behave closely to
>> how it worked before I'm fine with it.
>
> Turns out, telnet on original curl didn't always flush stdout, so there
> were still issues when using it interactively. Here's a patch that flushes
> stdout when needed, and uses flags based on users setting read or write
> callback instead of comparing function pointers or requiring a new
> setopt.
>
> Seems to pass make-test as well as handle custom read/write callbacks
> set by my program.
>
> Let me know what you think...I'll send an official git patch
> if you concur with these changes.
Daniel..have you had time to look at the revised telnet patch yet?
Thanks,
Ben
-- Ben Greear <greearb_at_candelatech.com> Candela Technologies Inc http://www.candelatech.com ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2010-04-19