Zeev Suraski
d87cc976e1
Redesigned thread safety mechanism - nua nua
25 years ago
Zeev Suraski
fe6f8712a4
- Get rid of ELS_*(), and use TSRMLS_*() instead.
- Move to the new ts_allocate_id() API
This patch is *bound* to break some files, as I must have had typos somewhere.
If you use any uncommon extension, please try to build it...
25 years ago
Sascha Schumann
a95101669d
Handle file buckets for now; that allows us to pass something to the
engine which it can handle.
25 years ago
Sascha Schumann
0bbe77309d
Accomodate an Apache API change
25 years ago
Sascha Schumann
1ad2a710ab
Use EXTRA_LDFLAGS at this point.
I've confirmed that one can build a working Apache DSO module now
(AIX 4.2 with gcc 2.95.2 and Apache 1.3.12).
25 years ago
Sascha Schumann
b56e877e53
Reindent, add link map for AIX, improve diagnostic message,
carry over all -D* CPPFLAGS, and nuke REGEX recognition.
25 years ago
Sascha Schumann
ab1df8dfb9
Accomodate Apache HTTPD 2.0 API change
25 years ago
foobar
8a26918ed1
Renamed the AC_ prefixed macros defined in acinclude.m4 to PHP_* prefixes.
# Heads up people! I tested this before committing but you never know..
25 years ago
Sascha Schumann
2da359bb84
httpd-2.0 cvs seems to be busted. I'm getting very strange backtraces
and the header filter still seems to be broken. Will try later.
25 years ago
Sascha Schumann
a824c87e6d
Now it actually loads, but it segfaults upon a request.
25 years ago
Sascha Schumann
6ed0cbb140
Make the module compile again with the latest httpd-2.0 cvs.
25 years ago
Andi Gutmans
eb6ba01d1c
- Fix copyright notices with 2001
25 years ago
Sascha Schumann
9db16758b3
Make fprintf's optional
25 years ago
Sascha Schumann
426d4104ea
Make Apache 2.0 filter build again
25 years ago
Zeev Suraski
bd0ac7fe14
Many patches. I hope I remember them all:
- Make sapi_module available to external modules (PHPAPI)
- Make the php.ini path reported in phpinfo() always point to
real full path of the php.ini file
- Optimized the ISAPI module not to read unnecessary server
variables and read necessary variables at most once.
26 years ago
Zeev Suraski
aa6d2ac5d0
Heads up people!
Updated the get_current_key() API - the relevant authors, please take
a look at the updated code and make sure it's ok...
26 years ago
Sascha Schumann
104311042c
Add TODO note
26 years ago
Hartmut Holzgraefe
1f6878e912
2nd step towards auto-credits
26 years ago
Zeev Suraski
030b707296
Update SAPI modules to interface with the new TSRM.
Enable thread-safety memory debugging in ISAPI when in debug mode
26 years ago
Sascha Schumann
802d716c0d
Update README
Make Apache-related functions build
Add get_all_headers()
Fix segfault when SAPI outputs strings of length 0
Move request ctor/dtor into their own functions
26 years ago
Sascha Schumann
e7a632e950
Add apache_sub_req()
26 years ago
Sascha Schumann
51ec089429
Setting no_cache causes Expires: to be send, which is not what we want.
Also disable ETag. It does not serve any purpose for dynamic pages.
Finally, disable keep-alive connections again, since we don't know
the content-length for sure.
26 years ago
Sascha Schumann
43ff395b65
Const'ify part of sapi_request_info.
query_string, post_data, path_translated, request_uri, auth_user,
auth_password and argv0 are modified, so they cannot become const.
26 years ago
Sascha Schumann
3ac8e25812
Namespace protect dir_cmds and kill some warnings
26 years ago
Sascha Schumann
1f53d0203c
Restrict php_admin_value to *.conf files.
26 years ago
Sascha Schumann
d9ba87c84c
Our context's lifetime differs from the lifetime of a filter's context,
so don't set the filter's context in the INIT_CTX macro.
26 years ago
Sascha Schumann
87e88d5a33
Use Input filters for handling POST data
26 years ago
Sascha Schumann
d39c2cf0f1
POSTs work fine
26 years ago
Sascha Schumann
b07276c3e2
Add standard license
26 years ago
Sascha Schumann
27a8480028
Add/unify aborted connection handling
26 years ago
Sascha Schumann
c38005a4f1
New directive AddRequestBodyFilters
Currently it requires this patch:
http://schumann.cx/request-body-filters
26 years ago
Sascha Schumann
f01e3fbe56
Handle user aborts
26 years ago
Sascha Schumann
86b2d4fefe
Add Request Body filters. This is a much nicer concept than
ap_get_req_body, since it is much more flexible and does not
need to buffer everything in memory (PHP still does..).
26 years ago
Zeev Suraski
1fd09132c2
Initial steps to move the INI mechanism to the Zend engine
26 years ago
Sascha Schumann
d943274af7
POST handler for my ubercool new Apache 2.0 function ap_get_req_body.
26 years ago
Sascha Schumann
ea7534a848
use puts instead of fprintf in log handler. no need for a format string.
26 years ago
Sascha Schumann
56ccd8701d
Some information about this handler
26 years ago
Sascha Schumann
b522397298
Looks like transient buckets are limited to 4096 bytes, so split up writes.
26 years ago
Sascha Schumann
93683d052b
Add log message sapi handler.
Reenable pipelining requests. Looks like the problems are caused by the
cache, not pipelining.
26 years ago
Sascha Schumann
50500e680b
Apache 2.0 does some funky internal caching which works for static
content, but fails miserably in our context.
26 years ago
Sascha Schumann
4f97ff0096
speling
26 years ago
Sascha Schumann
703a0c1159
Add some comments
26 years ago
Sascha Schumann
6ff371d9f7
Leave initializing of auth_(user|password) to php_handle_auth_data().
26 years ago
Sascha Schumann
055efb70c3
Handle cookies and make use of php_handle_auth_data.
26 years ago
Sascha Schumann
3a263dcd99
Handle special queries.
Apache's default handler does not seem to handle flushes correctly yet.
One more project..
26 years ago
Sascha Schumann
d504de0f78
An Apache 2.0 Filter for PHP, completely from scratch.
TODO:
POST, cookies, "flushing", finalizing config framework (it works),
http auth, PHP Hooks (apache_sub_req is there).
Note that this code depends on some other commits which are pending.
26 years ago