cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Issue with FTP CCC command

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 15 Apr 2011 16:45:35 +0200 (CEST)

On Fri, 15 Apr 2011, Mehmet Bozkurt wrote:

> I expressed my self poorly in my first post regarding this issue. There are
> of course not two sockets, the difference is if the subsequent send to the
> server (after CCC and SSL shutdown) goes through Curl_send_plain or
> ossl_send. Using the later causes a crash after CCC has been handled. I've
> made a patch that fixes this, so now it works for me.

Is your fix similar to the attached patch?

I tried to repeat the problem, but once I got my FTP server to do SSL properly
it turned out it doesn't support CCC so then I decided to just read the code
and try a fix "blindly". I'll appreciate feedback on how it works!

-- 
  / daniel.haxx.se


-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html

Received on 2011-04-15