summaryrefslogtreecommitdiff
path: root/main/SAPI.h
diff options
context:
space:
mode:
authorAndrei Zmievski <andrei@php.net>2010-03-18 21:07:38 +0000
committerAndrei Zmievski <andrei@php.net>2010-03-18 21:07:38 +0000
commit3220f15ca2859621d3cec72514bf782633d90ff0 (patch)
treecfbf835583534fabb532cf12941e44ccd8290ddd /main/SAPI.h
parent981ba00606191c2b010ec49b7e21b8731afe86aa (diff)
downloadphp-git-3220f15ca2859621d3cec72514bf782633d90ff0.tar.gz
Fix a few problems with large (2G-4G) file uploads. Added
--enable-large-uploads-fix switch because one change was in SAPI.h structure.
Diffstat (limited to 'main/SAPI.h')
-rw-r--r--main/SAPI.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/main/SAPI.h b/main/SAPI.h
index 972a6b0e05..1ce01c4762 100644
--- a/main/SAPI.h
+++ b/main/SAPI.h
@@ -120,7 +120,11 @@ typedef struct _sapi_globals_struct {
void *server_context;
sapi_request_info request_info;
sapi_headers_struct sapi_headers;
+#ifdef HAVE_LARGE_UPLOADS_FIX
+ size_t read_post_bytes;
+#else
int read_post_bytes;
+#endif
unsigned char headers_sent;
struct stat global_stat;
char *default_mimetype;