cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Multiple Easy Interface FTP Threads not calling write function callback when more than 2 active

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 22 Jun 2011 13:19:47 +0200 (CEST)

On Mon, 20 Jun 2011, Kable Dan (CDI) wrote:

> I am only downloading, using protocols FTP, HTTP, TFTP, and FILE. I am
> using IIS under windows 7 as the test HTTP and FTP server. All concurrent
> requests go to this server for different files. When I use http as the
> protocol, my callback function, writeMemoryCallback is being called for
> every thread up to the max 4 all the time. When I use ftp as the protocol,
> only the first two threads use the writeMemoryCallback function during the
> transfer.

Are all four transfers done from the same IIS server?

> The other two ftp threads are downloading the file but never call the
> callback function until the file has been totally transferred.

How do you mean they are downloading but don't call the callback? Where does
the data they download end up if they don't call the callback?

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2011-06-22