Tim Sneddon's VMS fix for huge HTTP POSTs

This commit is contained in:
Daniel Stenberg
2004-11-05 14:43:35 +00:00
parent f10985fc50
commit 6b49fd7483
6 changed files with 43 additions and 5 deletions

View File

@@ -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