summaryrefslogtreecommitdiff
path: root/sapi/apache/php_apache.c
Commit message (Collapse)AuthorAgeFilesLines
* removed sapi/apacheAnatol Belski2015-02-101-607/+0
|
* bump yearXinchen Hui2015-01-151-1/+1
|
* first shot remove TSRMLS_* thingsAnatol Belski2014-12-131-16/+16
|
* reworked the patch, less new stuff but workyAnatol Belski2014-09-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TLS is already used in TSRM, the way exporting the tsrm cache through a thread local variable is not portable. Additionally, the current patch suffers from bugs which are hard to find, but prevent it to be worky with apache. What is done here is mainly uses the idea from the RFC patch, but - __thread variable is removed - offset math and declarations are removed - extra macros and definitions are removed What is done merely is - use an inline function to access the tsrm cache. The function uses the portable tsrm_tls_get macro which is cheap - all the TSRM_* macros are set to placebo. Thus this opens the way remove them later Except that, the logic is old. TSRMLS_FETCH will have to be done once per thread, then tsrm_get_ls_cache() can be used. Things seeming to be worky are cli, cli server and apache. I also tried to enable bz2 shared and it has worked out of the box. The change is yet minimal diffing to the current master bus is a worky start, IMHO. Though will have to recheck the other previously done SAPIs - embed and cgi. The offsets can be added to the tsrm_resource_type struct, then it'll not be needed to declare them in the userspace. Even the "done" member type can be changed to int16 or smaller, then adding the offset as int16 will not change the struct size. As well on the todo might be removing the hashed storage, thread_id != thread_id and linked list logic in favour of the explicit TLS operations.
* native tls initial patchkrakjoe2014-09-201-1/+1
|
* s/PHP 5/PHP 7/Johannes Schlüter2014-09-191-1/+1
|
* Added support for apache and apache2handler SAPIs (They seem slower than ↵Dmitry Stogov2014-05-061-2/+2
| | | | FastCGI)
* Cleanup (1-st round)Dmitry Stogov2014-04-151-15/+15
|
* Bump yearXinchen Hui2014-01-031-1/+1
|
* Happy New YearXinchen Hui2013-01-011-1/+1
|
* - Year++Felipe Pena2012-01-011-1/+1
|
* - Added new parameter parsing option (p - for valid path (string without ↵Felipe Pena2011-06-061-1/+1
| | | | | | | | null byte in the middle)) # The tests will be fixed in the next commits
* - Year++Felipe Pena2011-01-011-1/+1
|
* * implement new output API, fixing some bugs and implementing some feature Michael Wallner2010-05-311-1/+1
| | | | | | | | | | | requests--let's see what I can dig out of the bugtracker for NEWS-- and while crossing the road: * implemented new zlib API * fixed up ext/tidy (what was "s&" in zend_parse_parameters() supposed to do?) Thanks to Jani and Felipe for pioneering.
* Removed safe_modeKalle Sommer Nielsen2010-04-261-9/+2
| | | | | | | * Removed ini options, safe_mode* * Removed --enable-safe-mode --with-exec-dir configure options on Unix * Updated extensions, SAPI's and core * php_get_current_user() is now declared in main.c, thrus no need to include safe_mode.h anymore
* Remove a couple TSRMLS_FETCH() calls around ext/main/sapiKalle Sommer Nielsen2010-04-131-2/+2
|
* - Reverted r296062 and r296065Jani Taskinen2010-03-121-38/+41
|
* MFH: Improved / fixed output buffering (Michael Wallner)Jani Taskinen2010-03-111-41/+38
|
* sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.phpSebastian Bergmann2010-01-031-1/+1
|
* MFB: Improved parameter handlingIlia Alshanetsky2009-01-051-4/+3
|
* MFH: Bump copyright year, 3 of 3.Sebastian Bergmann2008-12-311-1/+1
|
* - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macroFelipe Pena2008-11-171-10/+0
|
* - Revert ZEND_BEGIN_ARG_INFO changeFelipe Pena2008-11-021-0/+10
|
* - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macroFelipe Pena2008-10-241-10/+0
|
* - Added arginfoFelipe Pena2008-07-201-11/+60
|
* long -> int + minor sources reorganizationAntony Dovgal2008-07-011-50/+51
|
* updated to the new parameter-parsing apiAlexey Zakhlestin2008-06-281-62/+69
|
* MFH: Bump copyright year, 2 of 2.Sebastian Bergmann2007-12-311-1/+1
|
* Improved memory usage by movig constants to read only memory. (Dmitry, Pierre)Dmitry Stogov2007-09-271-1/+1
|
* MFH:- Fixed bug #42579 (apache_reset_timeout() does not exist)Jani Taskinen2007-09-071-2/+3
|
* - Avoid sprintf, even when checked copy'n'paste or changes lead to errorsMarcus Boerger2007-02-241-4/+4
|
* use snprintfStanislav Malyshev2007-02-231-2/+2
|
* MFH: Bump year.Sebastian Bergmann2007-01-011-1/+1
|
* MFHAntony Dovgal2006-12-281-2/+2
|
* more int->zend_bool conversionsNuno Lopes2006-09-061-1/+2
|
* Correctly import external data (#33292)Edin Kadribasic2006-04-261-0/+5
|
* bump year and license versionfoobar2006-01-011-3/+3
|
* MFH: nuke php3 legacyfoobar2005-12-061-1/+1
|
* MFH: nuke php3 legacyfoobar2005-12-061-4/+4
|
* - Bumber up yearfoobar2005-08-031-1/+1
|
* Fix protoRasmus Lerdorf2004-12-041-1/+1
|
* Add apache_reset_timeout() function for Apache1. This is needed becauseRasmus Lerdorf2004-12-041-0/+15
| | | | | | | | | | | | | Apache1 only resets the write timer, which defaults to 300 seconds, on a successful write. That is, if the client has gone away and Apache attempts a write which fails it will set the conn->aborted flag but not reset the timeout. Assuming the PHP script is running in ignore_user_abort mode we ignore the aborted flag, but we'll still get blown out of the water 300 seconds after the failed write unless we periodically reset the timer. With set_time_limit(0), ignore_user_abort(true) and periodic apache_reset_timeout() calls we can theoretically run forever which is why I disabled this call in safe mode.
* - A belated happy holidays and PHP 5Andi Gutmans2004-01-081-2/+2
|
* Nuke warningfoobar2003-09-091-1/+1
|
* fix typofoobar2003-09-091-1/+1
|
* Show the runtime version of Apache instead of compile time.foobar2003-09-091-1/+4
|
* Fixed format bugIlia Alshanetsky2003-08-281-1/+1
|
* updating license information in the headers.James Cox2003-06-101-3/+3
|
* Eliminate some TSRMLS_FETCH() calls. Tested with Win32 build of SAPI/CGI and ↵Sebastian Bergmann2003-03-251-1/+1
| | | | SAPI/CLI on Win32.
* * email address changeStig Bakken2003-03-181-1/+1
|