Aaron Bannert
d19fd6a0ad
Return the number of bytes consumed, not the number of bytes left.
...
Suggested by: Brian Havard <brianh@kheldar.apana.org.au>
2002-04-11 17:22:11 +00:00
Sebastian Bergmann
38af983c80
Patch by Aaron Bannert <aaron@clove.org> and Cliff Woolley <jwoolley@virginia.edu>.
2002-04-11 06:01:54 +00:00
Doug MacEachern
eab1211ed1
adjust to recent apr bucket api changes
2002-03-29 15:42:18 +00:00
Sebastian Bergmann
118761e11e
Sync with Apache2 Filter API change.
2002-03-13 07:11:00 +00:00
Doug MacEachern
a1b21e0c4c
adjust to ap_get_brigade() API change
2002-01-25 04:03:42 +00:00
Doug MacEachern
cb0a09808f
adjust to ap_get_brigade and input filter api changes
2002-01-20 18:44:15 +00:00
Sebastian Bergmann
38933514e1
Update headers.
2001-12-11 15:32:16 +00:00
Sterling Hughes
d30044c969
Update to the latest apr api (patch by Clif Woolley)
2001-11-29 11:29:11 +00:00
Doug MacEachern
898099adba
setup standard CGI variables
2001-11-13 21:40:01 +00:00
Jeroen van Wolffelaar
eb38ca844b
Undo Z_ subst for sapi and ext/yaz
2001-09-27 20:01:23 +00:00
Jeroen van Wolffelaar
c033288573
Back-substitute for Z_* macro's. If it breaks some extension (the script isn't optimal, it parses for example var->zval.value incorrect) please let me know.
2001-09-25 21:58:48 +00:00
Daniel Beulshausen
d504c7ca4f
let apache2 filter build under win32
2001-09-10 13:04:24 +00:00
Derick Rethans
78747bd2df
- Don't wrap lines... this is annoying while coding.
2001-09-09 13:29:31 +00:00
Doug MacEachern
23f1b515a6
add php version component
2001-08-28 06:23:27 +00:00
Doug MacEachern
c614a9ed3d
not all MPMs support child_init,
...
so move php_apache_server_startup to the post_config phase
(happens at server startup)
2001-08-28 06:19:58 +00:00
Sterling Hughes
766de15694
Add some editor modes (in the rest of the source)
2001-08-22 04:45:51 +00:00
Doug MacEachern
9b137805c8
automatically add php input/output filters when give the standard 1.x config:
...
AddType application/x-httpd-php .php
with that, no longer need "Set{In,Out}putFilter PHP" configuration for 2.0
2001-08-20 16:34:45 +00:00
Doug MacEachern
4829b93fb2
php_input_filter needs to ignore proxy requests
...
else it swallows POST data that needs to be sent to the downstream server
2001-08-19 21:07:50 +00:00
Sterling Hughes
ba4a1f2df2
Pass on proxy requests (fix by Doug MacEachern <dougm@covalent.net>)
2001-08-19 20:28:36 +00:00
Sterling Hughes
244c9ff3c9
Fix warning (Doug MacEachern, dougm@covalent.net)
2001-08-18 01:59:38 +00:00
Sterling Hughes
353f84c190
# f*ck @!e333u49/&§&$T§$&("E""! expandtab, that's it, the default in my
...
# vimrc is not noet
2001-08-18 01:36:29 +00:00
Sterling Hughes
0e12954669
fix crash bug (Doug MacEachern, dougm@covalent.net)
2001-08-18 01:34:19 +00:00
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
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
ab1df8dfb9
Accomodate Apache HTTPD 2.0 API change
2001-04-24 12:57:34 +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
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
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
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
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