diff options
author | Justin Erenkrantz <jerenkrantz@php.net> | 2003-02-20 18:20:03 +0000 |
---|---|---|
committer | Justin Erenkrantz <jerenkrantz@php.net> | 2003-02-20 18:20:03 +0000 |
commit | 97299303436c52a1ff88960e97e6b1d9573748cd (patch) | |
tree | 52806ee59df5455bba18fcd84eb6c5db19cf847f /sapi/apache2handler/php_apache.h | |
parent | 63291af1209780089cc3327bc1abbc3105464e3f (diff) | |
download | php-git-97299303436c52a1ff88960e97e6b1d9573748cd.tar.gz |
Clean up apache2handler SAPI.
Key improvements:
- Be streamy
- Re-enable virtual() support
- Set content_type correctly
- Remove unnecessary code and reintroduce some missing code
- Change signature from PhP to PHP
Diffstat (limited to 'sapi/apache2handler/php_apache.h')
-rw-r--r-- | sapi/apache2handler/php_apache.h | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/sapi/apache2handler/php_apache.h b/sapi/apache2handler/php_apache.h index 70c0ccb091..edd76e6fa3 100644 --- a/sapi/apache2handler/php_apache.h +++ b/sapi/apache2handler/php_apache.h @@ -35,21 +35,13 @@ extern char *apache2_php_ini_path_override; typedef struct php_struct { int state; request_rec *r; - conn_rec *c; - - apr_bucket_brigade *bb; - /* Length of post_data buffer */ - int post_len; - /* Index for reading from buffer */ - int post_idx; - /* stat structure of the current file */ + apr_bucket_brigade *brigade; + /* stat structure of the current file */ #if defined(NETWARE) && defined(CLIB_STAT_PATCH) struct stat_libc finfo; #else struct stat finfo; #endif - /* Buffer for request body filter */ - char *post_data; /* Whether or not we've processed PHP in the output filters yet. */ int request_processed; } php_struct; |