summaryrefslogtreecommitdiff
path: root/main/SAPI.h
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2002-12-01 03:28:21 +0000
committerSascha Schumann <sas@php.net>2002-12-01 03:28:21 +0000
commit2b95b3c83ba2ab5c695b9bfef1054ec73b7b4ccc (patch)
tree7bb1e8868fa9f8cf1f44cd9e41887d20a5bdf0ca /main/SAPI.h
parentb9447c2f497cc296a9f914ce0fd0433ae8eb9109 (diff)
downloadphp-git-2b95b3c83ba2ab5c695b9bfef1054ec73b7b4ccc.tar.gz
add a "force HTTP/1.0 response" facility to the SAPI layer
this is necessary, when you want to take over control of a connection and the web server is doing stupid things by default (like enabling chunked transfer encoding for no reason).
Diffstat (limited to 'main/SAPI.h')
-rw-r--r--main/SAPI.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/main/SAPI.h b/main/SAPI.h
index 75f68b18fd..560330c34e 100644
--- a/main/SAPI.h
+++ b/main/SAPI.h
@@ -187,6 +187,7 @@ SAPI_API size_t sapi_apply_default_charset(char **mimetype, size_t len TSRMLS_DC
SAPI_API void sapi_activate_headers_only(TSRMLS_D);
SAPI_API int sapi_get_fd(int *fd TSRMLS_DC);
+SAPI_API int sapi_force_http_10(TSRMLS_D);
struct _sapi_module_struct {
char *name;
@@ -228,7 +229,8 @@ struct _sapi_module_struct {
int php_ini_ignore;
int (*get_fd)(int *fd TSRMLS_DC);
-
+
+ int (*force_http_10)(TSRMLS_D);
};