cURL / Mailing Lists / curl-library / Single Mail


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

From: Daniel Stenberg <>
Date: Sat, 24 Apr 2010 10:53:20 +0200 (CEST)

On Mon, 19 Apr 2010, Ben Greear wrote:

Sorry for my delay on this.

> 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.

Why flush stdout? libcurl didn't do it previously, and nobody has complained
about that. Anyone who would require flushing or any other kind of tweaking of
the output could very easily just provide their own write callback, right? I
think we should just leave the default output like before.

> Let me know what you think...I'll send an official git patch if you concur
> with these changes.

I don't think we need the flushing, the rest looks fine to me!

List admin:
Received on 2010-04-24