aboutsummaryrefslogtreecommitdiff
path: root/lib/http.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-11-05 14:43:35 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-11-05 14:43:35 +0000
commit6b49fd74838d674011e18fcddcf497ba073052a2 (patch)
tree3d664e9471338d795da9f281b8c6d164fbc40884 /lib/http.h
parentf10985fc50aa469785f6618e05caa89a8c53542f (diff)
Tim Sneddon's VMS fix for huge HTTP POSTs
Diffstat (limited to 'lib/http.h')
-rw-r--r--lib/http.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/http.h b/lib/http.h
index 80c180798..d321333fe 100644
--- a/lib/http.h
+++ b/lib/http.h
@@ -57,5 +57,14 @@ int Curl_http_should_fail(struct connectdata *conn);
public curl/curl.h header. */
#define CURLAUTH_PICKNONE (1<<30) /* don't use auth */
+/* MAX_INITIAL_POST_SIZE indicates the number of kilobytes that will be sent
+ in the initial part of a multi-part POST message. This is primarily for
+ OpenVMS where the maximum number of bytes allowed per I/O is 64K. For
+ other systems that do not define this, the default is (as it was
+ previously) 100K. */
+#ifndef MAX_INITIAL_POST_SIZE
+#define MAX_INITIAL_POST_SIZE (100*1024)
+#endif
+
#endif
#endif