More security-related (control) patches:

- Avoid displaying errors during startup, unless display_startup_errors is enabled.
- Implemented post_size_max limit.  Defaults to 8MB.
- Implemented file_uploads on/off directive (defaults to on).
This commit is contained in:
Zeev Suraski 2000-09-09 15:02:15 +00:00
parent 242139d5ac
commit b7ecaacd07
10 changed files with 120 additions and 26 deletions

View file

@ -64,7 +64,7 @@ typedef struct {
char *query_string;
char *post_data;
char *cookie_data;
uint content_length;
long content_length;
uint post_data_length;
char *path_translated;
@ -101,6 +101,7 @@ typedef struct {
char *default_mimetype;
char *default_charset;
HashTable *rfc1867_uploaded_files;
long post_max_size;
} sapi_globals_struct;