cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: v7.30.0 is slower than v2.29.0 when I upload files with FTP

From: Mike Mio <mikemio_at_rogers.com>
Date: Tue, 27 Aug 2013 18:19:24 -0400

On Wednesday, August 21, 2013 4:42 PM, daniel.haxx.se wrote
>>Once you have a working libcurl built, I have two things for you to test!

Ok, I set up and built v 7.3.2.1 today. I see that the ftp upload is faster
(0.02 sec from STOR to 'upload complete') but when I try a group of files it
seem to be fast for 1 or 2 ( or 3) files then slow for 1 of 2 (around 1 sec)
this repeats throughout the upload. V 7.2.9.0 ticks along at a very even
pace.

So I tried to apply the patch that you included with the previous email but
it fails. I am guessing that is because other changes have been made to
ftp.c but I don't know enough about patches yet to say.

This is the patch output:
-------------------------------
git apply 0001-FTP-fix-getsock-during-DO_MORE-state.patch
0001-FTP-fix-getsock-during-DO_MORE-state.patch:34: trailing whitespace.
   * remote site, or we could wait for that site to connect to us. Or just
0001-FTP-fix-getsock-during-DO_MORE-state.patch:35: trailing whitespace.
   * handle ordinary commands.
0001-FTP-fix-getsock-during-DO_MORE-state.patch:36: trailing whitespace.
   */
0001-FTP-fix-getsock-during-DO_MORE-state.patch:45: trailing whitespace.
  if(FTP_STOP == ftpc->state) {
0001-FTP-fix-getsock-during-DO_MORE-state.patch:46: trailing whitespace.
    /* if stopped and still in this state, then we're also waiting for a
error: patch failed: lib/ftp.c:876
error: lib/ftp.c: patch does not apply
  --------------------------

Can you tell from that or should I just apply in manually?

Thanks,
Mike

 

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-08-28