cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: 回复:FTPS:Another reason,failed to access FTPS through a HTTP proxy server(v7.40.0)

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 21 Jan 2015 22:56:15 +0100 (CET)

On Mon, 19 Jan 2015, 鏃犳湁鍏堢敓 wrote:

> Annex I amendments, please check.鈥嶁

Thanks! I now completely realize why we need this fix - since the FTP code
doesn't properly deal with the CONNECT handling done non-blocking it has to do
the whole thing at once.

But I'm not too fond of this way of fixing it, as it is not made clear
anywhere that it will act differently depending on which socket index that is
passed in.

I would prefer a new argument to the function, like 'allow_early' or similar,
that would be set and not set depending on if the caller can handle that.

What do you think?

-- 
  / daniel.haxx.se

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-01-21