cURL / Mailing Lists / curl-library / Single Mail


Fwd: Re: PATCH: Allow telnet to be used programatically.

From: Ben Greear <>
Date: Mon, 19 Apr 2010 15:24:22 -0700

-------- Original Message --------
Subject: Re: PATCH: Allow telnet to be used programatically.
Date: Mon, 05 Apr 2010 11:01:44 -0700
From: Ben Greear <>
Organization: Candela Technologies
To: libcurl development <>
CC: Daniel Stenberg <>

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

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.


Ben Greear <>
Candela Technologies Inc

List admin:

Received on 2010-04-20