aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-01-29 20:28:26 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-01-29 20:28:26 +0000
commite88a2ec6fc7eed85ab0a78e78c379161cefdea72 (patch)
treea4ffeaee9d19adffbee1646b36d2b08cecc098e5
parent0666960173e2b42a96bc5a7ddf49313839319462 (diff)
no more adjustable upload buffer size, we use non-blocking sockets now so
this work-around is not needed anymore!
-rw-r--r--lib/urldata.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/urldata.h b/lib/urldata.h
index 3d521d648..cd667fade 100644
--- a/lib/urldata.h
+++ b/lib/urldata.h
@@ -85,11 +85,6 @@
/* Download buffer size, keep it fairly big for speed reasons */
#define BUFSIZE (1024*20)
-/* Defaul upload buffer size, keep it smallish to get faster progress meter
- updates. This is just default, it is dynamic and adjusts to the upload
- speed. */
-#define UPLOAD_BUFSIZE (1024*2)
-
/* Initial size of the buffer to store headers in, it'll be enlarged in case
of need. */
#define HEADERSIZE 256
@@ -317,10 +312,6 @@ struct connectdata {
struct timeval created; /* creation time */
int firstsocket; /* the main socket to use */
int secondarysocket; /* for i.e ftp transfers */
-
- long upload_bufsize; /* adjust as you see fit, never bigger than BUFSIZE
- never smaller than UPLOAD_BUFSIZE */
-
long maxdownload; /* in bytes, the maximum amount of data to fetch, 0
means unlimited */