cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl crashes when trying to scp over socks4

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 16 Jun 2008 18:09:03 +0200 (CEST)

On Mon, 16 Jun 2008, Hans-Jürgen May wrote:

> + else if((conn->protocol & PROT_SCP) && (conn->proto.sshc.state >
> SSH_STOP))

Thanks!

I want the SSH protocol state machine details kept in the ssh.c file, so
what about if we provide a function like

   Curl_ssh_enabled(conn);

... that we put in lib/ssh.c and that simply does the above magic and returns
TRUE if the connection has the SSH-protocol "enabled"?

-- 
  / daniel.haxx.se
Received on 2008-06-16