summaryrefslogtreecommitdiff
path: root/sapi/apache2handler/php_apache.h
Commit message (Collapse)AuthorAgeFilesLines
* Fixed bug #61471Zheng SHAO2017-02-081-0/+1
|
* Update copyright headers to 2017Sammy Kaye Powers2017-01-041-1/+1
|
* Move semicolon into TSRMLS_CACHE_EXTERN/DEFINENikita Popov2016-03-031-1/+1
| | | | Also re bug #71575.
* Merge branch 'PHP-5.6' into PHP-7.0Lior Kaplan2016-01-011-1/+1
|\ | | | | | | | | * PHP-5.6: Happy new year (Update copyright to 2016)
| * Happy new year (Update copyright to 2016)Lior Kaplan2016-01-011-1/+1
| |
| * bump yearXinchen Hui2015-01-151-1/+1
| |
* | made ZEND_TSRMLS_CACHE_* macros look like function callsAnatol Belski2015-02-161-1/+1
| | | | | | | | which also comply with the current semantics for such macros
* | bump yearXinchen Hui2015-01-151-1/+1
| |
* | Merge remote-tracking branch 'origin/master' into native-tlsAnatol Belski2014-12-151-3/+3
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | * origin/master: made the apache ini holders to be zend_bool Removed useless local variable Use simpler functions Fixed test small fixes to UPGRADING Reorder to save alignment size (of course, only for common used structs)
| * | made the apache ini holders to be zend_boolAnatol Belski2014-12-151-3/+3
| | | | | | | | | | | | since they're documented to be so and we spare 16 byte
* | | moved most of the core to use static tsrm ls cache pointerAnatol Belski2014-10-151-1/+2
| | | | | | | | | | | | plus apache2handler, cli and cgi
* | | 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.
* | | basic windows fixAnatol Belski2014-09-221-1/+1
| | |
* | | native tls initial patchkrakjoe2014-09-201-1/+1
|/ /
* | Update php_apache.hjfha732014-09-181-2/+2
| |
* | master renames phase 3Anatol Belski2014-08-251-1/+1
| |
* | ported apache handlerAnatol Belski2014-08-191-1/+4
|/
* Bump yearXinchen Hui2014-01-031-1/+1
|
* Happy New YearXinchen Hui2013-01-011-1/+1
|
* - Year++Felipe Pena2012-01-011-1/+1
|
* - Year++Felipe Pena2011-01-011-1/+1
|
* sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.phpSebastian Bergmann2010-01-031-1/+1
|
* MFH: Bump copyright year, 3 of 3.Sebastian Bergmann2008-12-311-1/+1
|
* Improved PHP binary size and startup speed with GCC4 visibility control (Nuno)Dmitry Stogov2008-01-301-0/+5
|
* MFH: Bump copyright year, 2 of 2.Sebastian Bergmann2007-12-311-1/+1
|
* MFH: Bump year.Sebastian Bergmann2007-01-011-1/+1
|
* MFH: call ap_set_content_type() only once, else each time we call it,Michael Wallner2006-05-281-0/+2
| | | | | configured output filters for that content type will be added
* bump year and license versionfoobar2006-01-011-3/+3
|
* - Bumber up yearfoobar2005-08-031-1/+1
|
* - Happy new year and PHP 5 for rest of the files too..foobar2004-01-081-2/+2
| | | | | # Should the LICENSE and Zend/LICENSE dates be updated too?
* Fixed bug #25768foobar2003-10-211-0/+1
|
* updating license information in the headers.James Cox2003-06-101-3/+3
|
* update php module name to php5, not php4.Sterling Hughes2003-03-291-1/+1
| | | | | | | apache, apache2* and cli/cgi work. sapi module maintainers should fix up their sapis, as I don't run any servers with php outside of apache.
* CS Fixes.Ilia Alshanetsky2003-03-071-0/+17
| | | | | | | Fixed a bug with 404 handling. Added more detailed Apache info for phpinfo(). Added the support for last_modified.
* Clean up apache2handler SAPI.Justin Erenkrantz2003-02-201-10/+2
| | | | | | | | | | Key improvements: - Be streamy - Re-enable virtual() support - Set content_type correctly - Remove unnecessary code and reintroduce some missing code - Change signature from PhP to PHP
* initial checkin of the apache2 SAPI using a handler instead of filters.Ian Holsman2003-02-111-0/+74
TBD: src highlighting better post handling