| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | white space changes (s/ /\t/g)experimental/apache_hooks | George Schlossnagle | 2002-10-23 | 1 | -323/+323 |
| | | |||||
| * | fixed directory merging | George Schlossnagle | 2002-10-23 | 1 | -1/+11 |
| | | |||||
| * | fixed return values for php_response_handler | George Schlossnagle | 2002-10-09 | 1 | -4/+5 |
| | | |||||
| * | sync with head. add optional content type param to send_http_header | George Schlossnagle | 2002-10-08 | 1 | -2/+1 |
| | | |||||
| * | Cleaned up a bunch of code, fully integrated the class::method handler | George Schlossnagle | 2002-08-30 | 1 | -110/+150 |
| | | | | | | | | | | | | | 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 be | George Schlossnagle | 2002-08-29 | 1 | -1/+54 |
| | | | | | | | | | | | | | 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 wrapper functions for the majority of the apache API_EXPORT functions | George Schlossnagle | 2002-08-28 | 1 | -20/+31 |
| | | | | | | | | | | | 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 now | George Schlossnagle | 2002-08-28 | 1 | -2/+4 |
| | | | | | | | 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 Schlossnagle | 2002-08-28 | 1 | -1/+1 |
| | | |||||
| * | All handlers are now 'stacked' allowing for multiple handlers to be called ↵ | George Schlossnagle | 2002-08-27 | 1 | -61/+274 |
| | | | | | | | | | | | | | | | 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 was | George Schlossnagle | 2002-08-27 | 1 | -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). | ||||
| * | Import of Lukas Schroeder's work to give php a full interface to apache ↵ | George Schlossnagle | 2002-08-26 | 1 | -156/+177 |
| | | | | | 1.3.x's hook interface, and full class wrappers around the apache request object and it's interfaces. | ||||
| * | Apache request handler hook framework. So far only the uri hook is | Rasmus Lerdorf | 2001-09-06 | 1 | -11/+64 |
| | | | | | | | | | | | | | | 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. | ||||
| * | API update | Zeev Suraski | 2001-08-31 | 1 | -1/+1 |
| | | |||||
| * | ypo;-) | Thies C. Arntzen | 2001-08-14 | 1 | -1/+1 |
| | | |||||
| * | Use zend_first_try | Zeev Suraski | 2001-08-08 | 1 | -1/+1 |
| | | |||||
| * | more tsrm cleanup | Sascha Schumann | 2001-08-05 | 1 | -3/+2 |
| | | |||||
| * | - TSRMLS_FETCH work | Zeev Suraski | 2001-08-05 | 1 | -6/+6 |
| | | | | | | - whitespace fixes | ||||
| * | Remove duplicate TSRMLS_FETCH() call. | Sebastian Bergmann | 2001-08-04 | 1 | -1/+0 |
| | | |||||
| * | Fix Apache/ZTS build | Zeev Suraski | 2001-08-01 | 1 | -1/+0 |
| | | |||||
| * | More TSRMLS_FETCH work | Zeev Suraski | 2001-07-31 | 1 | -4/+2 |
| | | |||||
| * | compile fix | Thies C. Arntzen | 2001-07-30 | 1 | -1/+1 |
| | | |||||
| * | Avoid TSRMLS_FETCH()'s, and clean up a bit of stale extern's and layout on ↵ | Zeev Suraski | 2001-07-30 | 1 | -1/+1 |
| | | | | | the way | ||||
| * | Redesigned thread safety mechanism - nua nua | Zeev Suraski | 2001-07-28 | 1 | -34/+32 |
| | | |||||
| * | - Get rid of ELS_*(), and use TSRMLS_*() instead. | Zeev Suraski | 2001-07-27 | 1 | -11/+11 |
| | | | | | | | | - 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... | ||||
| * | Get rid of the redundant global startup code | Zeev Suraski | 2001-07-24 | 1 | -0/+1 |
| | | |||||
| * | Use synchronous php_request_shutdown in the standard case and | Sascha Schumann | 2001-07-23 | 1 | -2/+4 |
| | | | | | | | | | | let the pool cleanup function only become effective, when an error has occured. This fixes the problem that the request_conn was already dead when the request_shutdown was reached. | ||||
| * | Improved bailout mechanism, supports nested bailouts a-la try..catch | Zeev Suraski | 2001-07-21 | 1 | -60/+60 |
| | | | | | | Note: You may *not* return directly from a catch block | ||||
| * | Fix folding and clean up some extensions | Rasmus Lerdorf | 2001-06-06 | 1 | -39/+128 |
| | | |||||
| * | Oops, sorry. I should not have committed this ebcdic fix (which was none) | Martin Kraemer | 2001-06-01 | 1 | -3/+0 |
| | | |||||
| * | Fix Basic auth (when under PHP control) for EBCDIC platforms | Martin Kraemer | 2001-05-23 | 1 | -0/+3 |
| | | |||||
| * | # Revert the SLS_FETCH() ;) | Sterling Hughes | 2001-05-16 | 1 | -4/+1 |
| | | |||||
| * | Remove redundancy | Sterling Hughes | 2001-05-16 | 1 | -2/+4 |
| | | | | | | # And further fix problem ;) | ||||
| * | fix windows build. | Sterling Hughes | 2001-05-16 | 1 | -0/+1 |
| | | | | | | #untested | ||||
| * | Merge memory usage into memory limit | Zeev Suraski | 2001-05-16 | 1 | -2/+2 |
| | | |||||
| * | add missing apls_fetch | Daniel Beulshausen | 2001-05-16 | 1 | -0/+1 |
| | | |||||
| * | Move the initialization to a safer place (earlier, it could end up | Zeev Suraski | 2001-05-15 | 1 | -1/+1 |
| | | | | | | not being reset to 0 under certain circumstances) | ||||
| * | Safer detection of recursive PHP invocations | Zeev Suraski | 2001-05-13 | 1 | -1/+4 |
| | | |||||
| * | @- Added --enable-memory-usage-info. This creates a new Apache 1.x logging | Thies C. Arntzen | 2001-05-11 | 1 | -1/+13 |
| | | | | | | | @ directive "{mod_php_memory_usage}n" which will log the peak amount of @ memory used by the script. (Thies) | ||||
| * | whitespace | Zeev Suraski | 2001-05-07 | 1 | -2/+2 |
| | | |||||
| * | Allow virtual() of PHP files. We may have to improve the detection code a | Zeev Suraski | 2001-05-07 | 1 | -6/+17 |
| | | | | | | bit, but it worked well on everything I tried. | ||||
| * | Fix off-by-one on config values set from Apache config | Stanislav Malyshev | 2001-03-13 | 1 | -1/+1 |
| | | | | | | | # It didn't really hurt, since the extra character was always \0, # but the phpinfo() display came out ugly. | ||||
| * | Avoid using ret uninitialized | Zeev Suraski | 2001-03-06 | 1 | -1/+1 |
| | | |||||
| * | Avoid writing to error_log in case of aborted connections. | Zeev Suraski | 2001-03-06 | 1 | -3/+1 |
| | | |||||
| * | - Fix copyright notices with 2001 | Andi Gutmans | 2001-02-26 | 1 | -1/+1 |
| | | |||||
| * | Kill warning | Rasmus Lerdorf | 2001-01-22 | 1 | -1/+0 |
| | | |||||
| * | Sigh. Even less sleep than I thought :) Really fix it this time. | Zeev Suraski | 2001-01-22 | 1 | -1/+1 |
| | | |||||
| * | Too much work, not enough sleep... Fix hash lookup | Zeev Suraski | 2001-01-22 | 1 | -1/+1 |
| | | |||||
| * | Don't overwrite PATH_TRANSLATED if it exists | Zeev Suraski | 2001-01-22 | 1 | -6/+16 |
| | | |||||
| * | Fix last couple of problematic execution paths that could corrupt the INI values | Zeev Suraski | 2001-01-03 | 1 | -1/+8 |
| | | |||||
