summaryrefslogtreecommitdiff
path: root/sapi
Commit message (Collapse)AuthorAgeFilesLines
* white space changes (s/ /\t/g)experimental/apache_hooksGeorge Schlossnagle2002-10-231-323/+323
|
* fixed directory mergingGeorge Schlossnagle2002-10-231-1/+11
|
* fixed return values for php_response_handlerGeorge Schlossnagle2002-10-091-4/+5
|
* header code cleanupGeorge Schlossnagle2002-10-081-0/+5
|
* sync with head. add optional content type param to send_http_headerGeorge Schlossnagle2002-10-082-2/+9
|
* Cleaned up a bunch of code, fully integrated the class::method handlerGeorge Schlossnagle2002-08-303-175/+193
| | | | | | | | | | | | code into a single stack per handlers (for correct interleaving). Changed the syntax so that now they are of the form phpUriHandler /filename phpUriHandlerMethod Class::Method This now works for all handlers including response handlers.
* added the ability to set handlers as class methods (classes will need to beGeorge Schlossnagle2002-08-292-1/+109
| | | | | | | | | | | | declared in a phpRequire statemenet, of course, or be otherwise available at the hook run-time (builtins)). This is currently only implemented for the uri trans handler it is usable as: phpUriHandlerCodeRef MyClass::MyMethod This can be greatly robustified from whre it stands now, but is a good proof of concept (hopefully!)
* added all the sub_request methods and logging methodsGeorge Schlossnagle2002-08-281-23/+177
|
* Added wrapper functions for the majority of the apache API_EXPORT functionsGeorge Schlossnagle2002-08-284-46/+304
| | | | | | | | | | as class methods for the ApacheRequest objects. broke sapi_activate into two functions to allow for reading of headers/cookies separately from request bodies (POST stuff). Altered some of the send_headers code in mod_php4.c to prevent sending headers twice (since a phpResponseHandler needs to be able to have full freedom for setting headers using the ap_*_header* functions.
* added wrapper for ap_send_http_header so that phpResponseHandler is nowGeorge Schlossnagle2002-08-283-4/+10
| | | | | | working. Added protections to mod_php4's internal call to the same so that headers cannot be accidentally sent twice.
* This handler works much better when not commented out. :)George Schlossnagle2002-08-281-1/+1
|
* All handlers are now 'stacked' allowing for multiple handlers to be called ↵George Schlossnagle2002-08-272-61/+275
| | | | | | | | | | | | | | in the order they are listed in the httpd.conf for a section. phpRequire is now supported (called out of the post-read request handler), and a first attempt at phpResponseHandler, a response-time type handler which is set by a <Location blah> SetHandler php-script phpResponseHandler /tmp/foo.php </Location> To allow for the stacked handlers, the entirety of zend_stack.c was imported into mod_php4.c. There is a patch pending to zend_stack.c to add the functionality so that all the redundant code can be removed.
* Replaced handler loading commands such that what wasGeorge Schlossnagle2002-08-271-60/+214
| | | | | | | | | | | | | | | php_value uri_handler /tmp/foo.php is now phpUriHandler /tmp/foo.php This fixes some bugs that caused handlers to be skipped or mysteriously 'unloaded', reduces the number of calls to zend_alter_ini_entries that are necessary, as well as allows for easier implementation of stacked handlers (which comes next). Added 2 new hooks, phpPostReadHandler and phpHeaderHandler (going to the obvious places).
* - add interface functions for headers_in, headers_out and err_headers_outlukas schroeder2002-08-261-24/+157
|
* Import of Lukas Schroeder's work to give php a full interface to apache ↵George Schlossnagle2002-08-265-275/+1184
| | | | 1.3.x's hook interface, and full class wrappers around the apache request object and it's interfaces.
* This commit was manufactured by cvs2svn to create branch 'apache_hooks'.SVN Migration2002-08-221-0/+38
|
* Ok, get it onto the right branchRasmus Lerdorf2001-09-061-0/+34
| | | | | (cvs can get annoying sometimes)
* Apache request handler hook framework. So far only the uri hook isRasmus Lerdorf2001-09-063-11/+68
| | | | | | | | | | | | | implemented, but the others will be easy once I finish the uri translation example. The big things left to do is to create a proper $r request object to be manipulated in user-space and also to verify that the hooks don't steal the POST data such that it isn't available to the content handler once it is finally called. Or if we do steal it, make sure it is somehow available to the content handler later on. Comments and help with this stuff is more than welcome. Check out these files from the 'apache_hooks' branch to play along.
* This commit was manufactured by cvs2svn to create branch 'apache_hooks'.SVN Migration2001-08-31120-13029/+0
|
* WSfoobar2001-08-311-2/+2
|
* API updateZeev Suraski2001-08-311-1/+1
|
* add php version componentDoug MacEachern2001-08-281-0/+9
|
* not all MPMs support child_init,Doug MacEachern2001-08-281-3/+4
| | | | | | so move php_apache_server_startup to the post_config phase (happens at server startup)
* Add some editor modes (in the rest of the source)Sterling Hughes2001-08-223-0/+26
|
* API updateZeev Suraski2001-08-211-2/+2
|
* automatically add php input/output filters when give the standard 1.x config:Doug MacEachern2001-08-201-0/+34
| | | | | | AddType application/x-httpd-php .php with that, no longer need "Set{In,Out}putFilter PHP" configuration for 2.0
* Windows compilation of fast cgi now working. See windows.txt for info.Shane Caraveo2001-08-203-17/+192
|
* php_input_filter needs to ignore proxy requestsDoug MacEachern2001-08-191-0/+4
| | | | | else it swallows POST data that needs to be sent to the downstream server
* Pass on proxy requests (fix by Doug MacEachern <dougm@covalent.net>)Sterling Hughes2001-08-191-0/+4
|
* Fix warning (Doug MacEachern, dougm@covalent.net)Sterling Hughes2001-08-181-1/+1
|
* # f*ck @!e333u49/&§&$T§$&("E""! expandtab, that's it, the default in mySterling Hughes2001-08-181-2/+2
| | | | | # vimrc is not noet
* fix crash bug (Doug MacEachern, dougm@covalent.net)Sterling Hughes2001-08-181-0/+3
|
* Fix a seg fault in PHP. If a child process is created in the server,Ryan Bloom2001-08-172-3/+3
| | | | | | | | | 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.
* darn noetSterling Hughes2001-08-161-7/+7
|
* Ryan Bloom's fix of my fix. ;)Sterling Hughes2001-08-161-2/+7
|
* Fix error loggingSterling Hughes2001-08-161-1/+1
|
* Revert an old bogus patchZeev Suraski2001-08-141-7/+9
|
* TSRMLS fixesDaniel Beulshausen2001-08-141-4/+3
|
* TSRMLS fixesDaniel Beulshausen2001-08-141-14/+11
|
* TSRMLS fixesDaniel Beulshausen2001-08-142-16/+5
|
* use an absolute path for symlinking the php library archiveSascha Schumann2001-08-141-1/+1
|
* ypo;-)Thies C. Arntzen2001-08-141-1/+1
|
* Use a symlink instead of copying the +6MB library archive during installSascha Schumann2001-08-131-1/+1
|
* Don't display egrep resultSascha Schumann2001-08-131-1/+1
|
* whoops, forgot to apply cgi/poll patch before diff'ingSascha Schumann2001-08-131-4/+39
|
* Add check for thttpd-2.21b. We support nothing else for now, becauseSascha Schumann2001-08-131-0/+1
| | | | | this version is rock-stable using the combined set of patches.
* improved thttpd-2.21b patch.. I got tired of applying my patches forSascha Schumann2001-08-131-19/+53
| | | | | | | | | | | these bugs. fixes poll(2) issue fixes hanging cgi issue fixes off-by-one in scanning input buffers in case of EAGAIN/EWOULDBLOCK fixes potential bug in managing write buffers add "index.php" to default files to look for
* Reverse patches that slipped in by mistake in a whitespace patch. TheyZeev Suraski2001-08-131-31/+34
| | | | | require some more work...
* WhitespaceZeev Suraski2001-08-111-34/+31
|
* killed compile warnings.foobar2001-08-101-2/+0
|