aboutsummaryrefslogtreecommitdiff
path: root/packages
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 /packages
parentf10985fc50aa469785f6618e05caa89a8c53542f (diff)
Tim Sneddon's VMS fix for huge HTTP POSTs
Diffstat (limited to 'packages')
-rwxr-xr-xpackages/vms/config-vms.h_with_ssl10
-rwxr-xr-xpackages/vms/config-vms.h_without_ssl10
2 files changed, 20 insertions, 0 deletions
diff --git a/packages/vms/config-vms.h_with_ssl b/packages/vms/config-vms.h_with_ssl
index b9d251f78..9d8e522b7 100755
--- a/packages/vms/config-vms.h_with_ssl
+++ b/packages/vms/config-vms.h_with_ssl
@@ -2,6 +2,7 @@
/* MSK, 03/09/04, Seems to work for all platforms I've built on so far. */
/* Added HAVE_SYS_IOCTL_H, IOCTL_3_ARGS and SIZEOF_CURL_OFF_T defines */
/* MSK, 06/04/04, Added HAVE_INET_NTOP */
+/* TES, 11/05/04, Added MAX_INITIAL_POST_SIZE, HAVE_BASENAME */
/* Define cpu-machine-OS */
#ifdef __ALPHA
@@ -14,6 +15,12 @@
#endif
#endif
+/* Define to set number of kilobytes in initial POST message. On VMS systems
+ this is important as the default is 100 and the maximum amount of data
+ transferable in a VMS $QIO is 64K. All VMS versions prior to Alpha/I64
+ V8.2 and TCP/IP V5.5 are affected by this. */
+#define MAX_INITIAL_POST_SIZE (60*1024)
+
/* Define if you have the ANSI C header files. */
#define STDC_HEADERS 1
@@ -32,6 +39,9 @@
/* Define if you have the geteuid function. */
#define HAVE_GETEUID 1
+/* Define if you have the basename function. */
+#define HAVE_BASENAME 1
+
/* Define if you have the gethostbyaddr function. */
#define HAVE_GETHOSTBYADDR 1
diff --git a/packages/vms/config-vms.h_without_ssl b/packages/vms/config-vms.h_without_ssl
index 1b49b5fdd..0d7eee7c8 100755
--- a/packages/vms/config-vms.h_without_ssl
+++ b/packages/vms/config-vms.h_without_ssl
@@ -2,6 +2,7 @@
/* MSK, 03/09/04, Seems to work for all platforms I've built on so far. */
/* Added HAVE_SYS_IOCTL_H, IOCTL_3_ARGS and SIZEOF_CURL_OFF_T defines */
/* MSK, 06/04/04, Added HAVE_INET_NTOP */
+/* TES, 10/06/04, Added MAX_INITIAL_POST_SIZE, HAVE_BASENAME */
/* Define cpu-machine-OS */
#ifdef __ALPHA
@@ -14,6 +15,12 @@
#endif
#endif
+/* Define to set the number of kilobytes per POST message. On VMS systems
+ this is important as the default is 100 and the maximum amount of data
+ transferable in a VMS QIO is 64K. All VMS versions prior to Alpha/I64 V8.2
+ and TCP/IP V5.5 are affected by this. */
+#define MAX_INITIAL_POST_SIZE (60*1024)
+
/* Define if you have the ANSI C header files. */
#define STDC_HEADERS 1
@@ -32,6 +39,9 @@
/* Define if you have the geteuid function. */
#define HAVE_GETEUID 1
+/* Define if you have the basename function. */
+#define HAVE_BASENAME 1
+
/* Define if you have the gethostbyaddr function. */
#define HAVE_GETHOSTBYADDR 1