View | Details | Raw Unified | Return to bug 201145
Collapse All | Expand All

(-)ftp/curl/Makefile (-1 / +1 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	curl
4
PORTNAME=	curl
5
PORTVERSION=	7.43.0
5
PORTVERSION=	7.43.0
6
PORTREVISION=	1
6
PORTREVISION=	2
7
CATEGORIES=	ftp www
7
CATEGORIES=	ftp www
8
MASTER_SITES=	http://curl.haxx.se/download/ \
8
MASTER_SITES=	http://curl.haxx.se/download/ \
9
		LOCAL/sunpoet
9
		LOCAL/sunpoet
(-)ftp/curl/files/patch-lib-multi.c (+14 lines)
Line 0 Link Here
1
--- lib/multi.c
2
+++ lib/multi.c
3
@@ -402,11 +402,6 @@ CURLMcode curl_multi_add_handle(CURLM *multi_handle,
4
   /* Point to the multi's connection cache */
5
   data->state.conn_cache = &multi->conn_cache;
6
 
7
-  if(data->set.httpreq == HTTPREQ_PUT)
8
-    data->state.infilesize = data->set.filesize;
9
-  else
10
-    data->state.infilesize = data->set.postfieldsize;
11
-
12
   /* This adds the new entry at the 'end' of the doubly-linked circular
13
      list of SessionHandle structs to try and maintain a FIFO queue so
14
      the pipelined requests are in order. */
(-)ftp/curl/files/patch-lib-transfer.c (+14 lines)
Line 0 Link Here
1
--- lib/transfer.c
2
+++ lib/transfer.c
3
@@ -1315,6 +1315,11 @@ CURLcode Curl_pretransfer(struct SessionHandle *data)
4
   Curl_safefree(data->info.wouldredirect);
5
   data->info.wouldredirect = NULL;
6
 
7
+  if(data->set.httpreq == HTTPREQ_PUT)
8
+    data->state.infilesize = data->set.filesize;
9
+  else
10
+    data->state.infilesize = data->set.postfieldsize;
11
+
12
   /* If there is a list of cookie files to read, do it now! */
13
   if(data->change.cookielist)
14
     Curl_cookie_loadfiles(data);

Return to bug 201145