From 6b49fd74838d674011e18fcddcf497ba073052a2 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 5 Nov 2004 14:43:35 +0000 Subject: Tim Sneddon's VMS fix for huge HTTP POSTs --- packages/vms/config-vms.h_without_ssl | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'packages/vms/config-vms.h_without_ssl') 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 -- cgit v1.2.3