cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Re: curl crashes when trying to scp over socks4

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 20 Jun 2008 12:32:23 +0200 (CEST)

On Wed, 18 Jun 2008, Hans-Jürgen May wrote:

>> I want the SSH protocol state machine details kept in the ssh.c file.
>
> That looks reasonable to me, also because this check conn->proto.sshc.state
> > SSH_STOP will probably not be enough to check if there's really a valid
> ssh session.

Ok, so what about the attached patch? It makes sure to use "plain" send() to
send away the SOCKS handshake. It also cleans up some ssh-related #ifdefs.

This is what I intend to commit soonish so if it breaks anything for you,
please let me know!

-- 
  / daniel.haxx.se

Received on 2008-06-20