diff options
author | Daniel Stenberg <daniel@haxx.se> | 2009-05-07 20:00:44 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2009-05-07 20:00:44 +0000 |
commit | 9c788a529beb63e95de5be013bb4b0f26f8456a0 (patch) | |
tree | 8f02914db27ff155e08e75001cf7b72ee267f353 /lib/ftp.c | |
parent | 6159c356c9491ad235ea2bef4f4d3c0258a62364 (diff) | |
download | curl-9c788a529beb63e95de5be013bb4b0f26f8456a0.tar.gz |
- Made the SO_SNDBUF setting for the data connection socket for ftp uploads as
well. See change 28 Apr 2009.
Diffstat (limited to 'lib/ftp.c')
-rw-r--r-- | lib/ftp.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -2308,6 +2308,9 @@ static CURLcode ftp_state_stor_resp(struct connectdata *conn, Curl_pgrsSetUploadSize(data, data->set.infilesize); + /* set the SO_SNDBUF for the secondary socket for those who need it */ + Curl_sndbufset(conn->sock[SECONDARYSOCKET]); + result = Curl_setup_transfer(conn, -1, -1, FALSE, NULL, /* no download */ SECONDARYSOCKET, ftp->bytecountp); state(conn, FTP_STOP); |