Ryan Bloom
1543904d71
Fix a seg fault in PHP. If a child process is created in the server,
...
using apr_proc_create, it will seg fault, because PHP is using a NULL
child cleanup. To fix this, we have to use the special cleanup function,
apr_pool_cleanup_null.
This also fixes a compiler warning in the ap_log_error call.
2001-08-17 22:25:13 +00:00
Sterling Hughes
fe7b5a3434
darn noet
2001-08-16 06:09:12 +00:00
Sterling Hughes
b87834a12d
Ryan Bloom's fix of my fix. ;)
2001-08-16 06:05:57 +00:00
Sterling Hughes
9395f0e6e2
Fix error logging
2001-08-16 05:19:29 +00:00
foobar
18c893d0df
killed compile warnings.
2001-08-10 08:36:21 +00:00
Sascha Schumann
8aef193056
more tsrm cleanup
2001-08-05 15:29:47 +00:00
Sascha Schumann
2cce13fd50
further tsrm cleanup
2001-08-05 14:27:39 +00:00
Sebastian Bergmann
25076098c0
Revert whitespace patch.
2001-08-03 05:05:47 +00:00
Sebastian Bergmann
fcfea1c55d
Whitespace fixes.
2001-08-02 15:16:43 +00:00
Sebastian Bergmann
010c3b44ed
Fix Apache2Filter build.
2001-08-02 15:14:30 +00:00
Sterling Hughes
e7ea61ad98
remove duplicate TSRMLS_FETCH()
2001-07-31 23:44:20 +00:00
Zeev Suraski
d87cc976e1
Redesigned thread safety mechanism - nua nua
2001-07-28 11:36:37 +00:00
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...
2001-07-27 10:16:41 +00:00
Sascha Schumann
a95101669d
Handle file buckets for now; that allows us to pass something to the
...
engine which it can handle.
2001-07-23 04:50:13 +00:00
Sascha Schumann
0bbe77309d
Accomodate an Apache API change
2001-06-22 23:20:49 +00:00
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).
2001-05-23 21:23:16 +00:00
Sascha Schumann
b56e877e53
Reindent, add link map for AIX, improve diagnostic message,
...
carry over all -D* CPPFLAGS, and nuke REGEX recognition.
2001-05-19 17:02:09 +00:00
Sascha Schumann
ab1df8dfb9
Accomodate Apache HTTPD 2.0 API change
2001-04-24 12:57:34 +00:00
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..
2001-03-27 20:35:04 +00:00
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.
2001-02-28 14:19:15 +00:00
Sascha Schumann
a824c87e6d
Now it actually loads, but it segfaults upon a request.
2001-02-28 14:11:34 +00:00
Sascha Schumann
6ed0cbb140
Make the module compile again with the latest httpd-2.0 cvs.
2001-02-28 14:03:58 +00:00
Andi Gutmans
eb6ba01d1c
- Fix copyright notices with 2001
2001-02-26 06:11:02 +00:00
Sascha Schumann
9db16758b3
Make fprintf's optional
2001-02-08 16:26:18 +00:00
Sascha Schumann
426d4104ea
Make Apache 2.0 filter build again
2001-01-08 23:18:47 +00:00
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.
2001-01-02 22:49:31 +00:00
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...
2000-12-22 12:57:09 +00:00
Sascha Schumann
104311042c
Add TODO note
2000-12-11 08:05:53 +00:00
Hartmut Holzgraefe
1f6878e912
2nd step towards auto-credits
2000-11-20 10:33:33 +00:00
Zeev Suraski
030b707296
Update SAPI modules to interface with the new TSRM.
...
Enable thread-safety memory debugging in ISAPI when in debug mode
2000-11-18 02:44:04 +00:00
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
2000-11-11 18:24:27 +00:00
Sascha Schumann
e7a632e950
Add apache_sub_req()
2000-11-06 01:46:28 +00:00
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.
2000-11-03 00:11:42 +00:00
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.
2000-11-02 15:47:02 +00:00
Sascha Schumann
3ac8e25812
Namespace protect dir_cmds and kill some warnings
2000-11-02 15:19:54 +00:00
Sascha Schumann
1f53d0203c
Restrict php_admin_value to *.conf files.
2000-11-02 15:01:25 +00:00
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.
2000-11-01 19:26:57 +00:00
Sascha Schumann
87e88d5a33
Use Input filters for handling POST data
2000-11-01 19:19:46 +00:00
Sascha Schumann
d39c2cf0f1
POSTs work fine
2000-10-29 17:48:13 +00:00
Sascha Schumann
b07276c3e2
Add standard license
2000-10-29 17:43:23 +00:00
Sascha Schumann
27a8480028
Add/unify aborted connection handling
2000-10-29 16:01:02 +00:00
Sascha Schumann
c38005a4f1
New directive AddRequestBodyFilters
...
Currently it requires this patch:
http://schumann.cx/request-body-filters
2000-10-29 15:13:23 +00:00
Sascha Schumann
f01e3fbe56
Handle user aborts
2000-10-29 15:10:49 +00:00
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..).
2000-10-29 14:52:15 +00:00
Zeev Suraski
1fd09132c2
Initial steps to move the INI mechanism to the Zend engine
2000-10-29 11:38:26 +00:00
Sascha Schumann
d943274af7
POST handler for my ubercool new Apache 2.0 function ap_get_req_body.
2000-10-27 23:02:20 +00:00
Sascha Schumann
ea7534a848
use puts instead of fprintf in log handler. no need for a format string.
2000-10-27 15:40:16 +00:00
Sascha Schumann
56ccd8701d
Some information about this handler
2000-10-27 15:03:53 +00:00
Sascha Schumann
b522397298
Looks like transient buckets are limited to 4096 bytes, so split up writes.
2000-10-27 13:30:41 +00:00
Sascha Schumann
93683d052b
Add log message sapi handler.
...
Reenable pipelining requests. Looks like the problems are caused by the
cache, not pipelining.
2000-10-27 13:19:23 +00:00