curl-library
Re: Setting priority for an easy handle in a multihandle
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 1 May 2012 20:25:07 +0200 (CEST)
Date: Tue, 1 May 2012 20:25:07 +0200 (CEST)
On Tue, 1 May 2012, Gokhan Sengun wrote:
> For example, send command "USER xxxx" to FTP server, break FTP state machine
> and return back to multi interface before waiting the response, etc.
That's what it does already...
> Currently processing of a job in multi interface for FTP does USER, PASSWD,
> PWD and returns and this can take some time to complete if poles of earth
> are involved in the communication.
If that's what happens now then it is a bug. The FTP code is designed and
written to be a perfectly fine non-blocking state machine.
Curl_GetFTPResponse() is the main blocking bad guy in the FTP code iirc but it
isn't used for USER, PASS and PWD.
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2012-05-01