Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | removed sapi/apache | Anatol Belski | 2015-02-10 | 1 | -607/+0 |
| | |||||
* | bump year | Xinchen Hui | 2015-01-15 | 1 | -1/+1 |
| | |||||
* | first shot remove TSRMLS_* things | Anatol Belski | 2014-12-13 | 1 | -16/+16 |
| | |||||
* | reworked the patch, less new stuff but worky | Anatol Belski | 2014-09-25 | 1 | -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 patch | krakjoe | 2014-09-20 | 1 | -1/+1 |
| | |||||
* | s/PHP 5/PHP 7/ | Johannes Schlüter | 2014-09-19 | 1 | -1/+1 |
| | |||||
* | Added support for apache and apache2handler SAPIs (They seem slower than ↵ | Dmitry Stogov | 2014-05-06 | 1 | -2/+2 |
| | | | | FastCGI) | ||||
* | Cleanup (1-st round) | Dmitry Stogov | 2014-04-15 | 1 | -15/+15 |
| | |||||
* | Bump year | Xinchen Hui | 2014-01-03 | 1 | -1/+1 |
| | |||||
* | Happy New Year | Xinchen Hui | 2013-01-01 | 1 | -1/+1 |
| | |||||
* | - Year++ | Felipe Pena | 2012-01-01 | 1 | -1/+1 |
| | |||||
* | - Added new parameter parsing option (p - for valid path (string without ↵ | Felipe Pena | 2011-06-06 | 1 | -1/+1 |
| | | | | | | | | null byte in the middle)) # The tests will be fixed in the next commits | ||||
* | - Year++ | Felipe Pena | 2011-01-01 | 1 | -1/+1 |
| | |||||
* | * implement new output API, fixing some bugs and implementing some feature | Michael Wallner | 2010-05-31 | 1 | -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_mode | Kalle Sommer Nielsen | 2010-04-26 | 1 | -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/sapi | Kalle Sommer Nielsen | 2010-04-13 | 1 | -2/+2 |
| | |||||
* | - Reverted r296062 and r296065 | Jani Taskinen | 2010-03-12 | 1 | -38/+41 |
| | |||||
* | MFH: Improved / fixed output buffering (Michael Wallner) | Jani Taskinen | 2010-03-11 | 1 | -41/+38 |
| | |||||
* | sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php | Sebastian Bergmann | 2010-01-03 | 1 | -1/+1 |
| | |||||
* | MFB: Improved parameter handling | Ilia Alshanetsky | 2009-01-05 | 1 | -4/+3 |
| | |||||
* | MFH: Bump copyright year, 3 of 3. | Sebastian Bergmann | 2008-12-31 | 1 | -1/+1 |
| | |||||
* | - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro | Felipe Pena | 2008-11-17 | 1 | -10/+0 |
| | |||||
* | - Revert ZEND_BEGIN_ARG_INFO change | Felipe Pena | 2008-11-02 | 1 | -0/+10 |
| | |||||
* | - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro | Felipe Pena | 2008-10-24 | 1 | -10/+0 |
| | |||||
* | - Added arginfo | Felipe Pena | 2008-07-20 | 1 | -11/+60 |
| | |||||
* | long -> int + minor sources reorganization | Antony Dovgal | 2008-07-01 | 1 | -50/+51 |
| | |||||
* | updated to the new parameter-parsing api | Alexey Zakhlestin | 2008-06-28 | 1 | -62/+69 |
| | |||||
* | MFH: Bump copyright year, 2 of 2. | Sebastian Bergmann | 2007-12-31 | 1 | -1/+1 |
| | |||||
* | Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) | Dmitry Stogov | 2007-09-27 | 1 | -1/+1 |
| | |||||
* | MFH:- Fixed bug #42579 (apache_reset_timeout() does not exist) | Jani Taskinen | 2007-09-07 | 1 | -2/+3 |
| | |||||
* | - Avoid sprintf, even when checked copy'n'paste or changes lead to errors | Marcus Boerger | 2007-02-24 | 1 | -4/+4 |
| | |||||
* | use snprintf | Stanislav Malyshev | 2007-02-23 | 1 | -2/+2 |
| | |||||
* | MFH: Bump year. | Sebastian Bergmann | 2007-01-01 | 1 | -1/+1 |
| | |||||
* | MFH | Antony Dovgal | 2006-12-28 | 1 | -2/+2 |
| | |||||
* | more int->zend_bool conversions | Nuno Lopes | 2006-09-06 | 1 | -1/+2 |
| | |||||
* | Correctly import external data (#33292) | Edin Kadribasic | 2006-04-26 | 1 | -0/+5 |
| | |||||
* | bump year and license version | foobar | 2006-01-01 | 1 | -3/+3 |
| | |||||
* | MFH: nuke php3 legacy | foobar | 2005-12-06 | 1 | -1/+1 |
| | |||||
* | MFH: nuke php3 legacy | foobar | 2005-12-06 | 1 | -4/+4 |
| | |||||
* | - Bumber up year | foobar | 2005-08-03 | 1 | -1/+1 |
| | |||||
* | Fix proto | Rasmus Lerdorf | 2004-12-04 | 1 | -1/+1 |
| | |||||
* | Add apache_reset_timeout() function for Apache1. This is needed because | Rasmus Lerdorf | 2004-12-04 | 1 | -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 5 | Andi Gutmans | 2004-01-08 | 1 | -2/+2 |
| | |||||
* | Nuke warning | foobar | 2003-09-09 | 1 | -1/+1 |
| | |||||
* | fix typo | foobar | 2003-09-09 | 1 | -1/+1 |
| | |||||
* | Show the runtime version of Apache instead of compile time. | foobar | 2003-09-09 | 1 | -1/+4 |
| | |||||
* | Fixed format bug | Ilia Alshanetsky | 2003-08-28 | 1 | -1/+1 |
| | |||||
* | updating license information in the headers. | James Cox | 2003-06-10 | 1 | -3/+3 |
| | |||||
* | Eliminate some TSRMLS_FETCH() calls. Tested with Win32 build of SAPI/CGI and ↵ | Sebastian Bergmann | 2003-03-25 | 1 | -1/+1 |
| | | | | SAPI/CLI on Win32. | ||||
* | * email address change | Stig Bakken | 2003-03-18 | 1 | -1/+1 |
| |