summaryrefslogtreecommitdiff
path: root/sapi/cgi
Commit message (Collapse)AuthorAgeFilesLines
* Fix CGI m4 config message when CGI is disabledPeter Kokot2017-09-271-3/+3
|
* Update copyright headers to 2017Sammy Kaye Powers2017-01-041-3/+3
|
* 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-3/+3
|\ | | | | | | | | * PHP-5.6: Happy new year (Update copyright to 2016)
| * Happy new year (Update copyright to 2016)Lior Kaplan2016-01-013-5/+5
| |
| * Added support for HTTP 451Julien Pauli2015-12-231-0/+1
| |
* | Merge branch 'PHP-5.6' into PHP-7.0Lior Kaplan2015-11-231-2/+2
|\ \ | |/ | | | | | | | | | | | | | | * PHP-5.6: Fixed bug #61751 (SAPI build problem on AIX: Undefined symbol: php_register_internal_extensions) Conflicts: sapi/cgi/config9.m4 sapi/fpm/config.m4
| * Fixed bug #61751 (SAPI build problem on AIX: Undefined symbol: ↵Lior Kaplan2015-11-231-2/+2
| | | | | | | | php_register_internal_extensions)
| * Fix globals initialization in sapi/cgiAnatol Belski2015-10-231-5/+6
| | | | | | | | Basically backport 8430ec17
| * Merge branch 'PHP-5.5' into PHP-5.6Stanislav Malyshev2015-02-011-0/+2
| |\ | | | | | | | | | | | | * PHP-5.5: Fix #66479: Wrong response to FCGI_GET_VALUES
| | * Fix #66479: Wrong response to FCGI_GET_VALUESFrank Stolle2015-02-011-0/+2
| | | | | | | | | | | | | | | | | | | | | Requesting Get-Values via FCGI caused an "endless" loop over the last requested parameter and ended with an invalid response. this patch solves this loop bug. Conflicts: sapi/cgi/fastcgi.c
* | | rm duplicate includeLynn2015-11-071-1/+0
| | |
* | | fork testAnatol Belski2015-09-301-0/+34
| | |
* | | fix tests on WindowsAnatol Belski2015-09-304-3/+23
| | |
* | | tweak cgi binary searchAnatol Belski2015-09-302-14/+19
| | |
* | | Don't keep dangling pointersDmitry Stogov2015-09-231-2/+8
| | |
* | | fix zend signal and tsrm compatzend-signal-ztsJoe Watkins2015-09-011-0/+4
| | |
* | | integrate the applink shim in the other binsAnatol Belski2015-07-031-0/+4
| | |
* | | remove useless assignmentAnatol Belski2015-06-291-5/+1
| | |
* | | fix FCGI crash in TS modeAnatol Belski2015-06-291-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | If CGI TS build is used, and there are some hard errors (fe missing dependency .dll or .so), the core will want to log it. The CGI log function will want to check whether fcgi_logging is enabled. But, if this kind of error happens in the extension register phase, MINIT for the CGI module is most likely wasn't run yet (startup phase). That will result in accessing uninitialized globals and a crash.
* | | Encapsulate FastCGI implementation details.Dmitry Stogov2015-06-231-13/+14
| | | | | | | | | | | | Previously fcgi_request defined in main/fastcgi.h might be treated differently in different files, because of different behavior of #ifdef TCP_NODELAY. This leaded to stack memory corruption and unpredictable crashes.
* | | Merge branch 'pull-request/1284'Anatol Belski2015-06-171-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * pull-request/1284: Rename interface macros Fix typo in UPGRADING Move definition of Throwable to zend_exceptions.h/c Check for zend_ce_throwable instead Fix some missed tests Add Throwable tests Fix previous exception type check Updated UPGRADING with RFC link Changed AssertionException to AssertionError Update exception error messages Throwable method signatures. Update exception names in tests after formatting changes. Merge exception formatting changes. Make zend_get_exception_base static. Fix a few missed tests. Fix handler double copy. Updated tests to reflect exception class changes. Remodel exceptions based on Throwable interface
| * \ \ Merge branch 'master' into throwable-interfaceAaron Piotrowski2015-06-146-1815/+116
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # Zend/zend_language_scanner.c # Zend/zend_language_scanner.l # ext/simplexml/tests/SimpleXMLElement_xpath.phpt
| * | | | Update exception names in tests after formatting changes.Aaron Piotrowski2015-05-171-1/+1
| | | | |
* | | | | Fixed bug #69849 (Broken output of apache_request_headers)Kalle Sommer Nielsen2015-06-161-1/+1
| | | | |
* | | | | Use zend_parse_parameters_none() hereKalle Sommer Nielsen2015-06-161-4/+4
| |/ / / |/| | |
* | | | added the shared fcgi imp to sapi/cgiAnatol Belski2015-05-261-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This is yet a workaround, if another part of the source would need the same object file, it'll end up producing duplicated nmake target. Some additional implementation is needed so same object files can be shared between different modules, to handle this situation better.
* | | | Only link fastcgi into fpm and cgiXinchen Hui2015-05-262-5/+5
| | | |
* | | | Micro optimizationsXinchen Hui2015-05-261-2/+7
| | | |
* | | | Avoid multipy allocating of request envXinchen Hui2015-05-241-0/+2
| | | |
* | | | Use weak function for fcgi_logXinchen Hui2015-05-231-0/+5
| | | |
* | | | Fixed fpm-side (tests passes)Xinchen Hui2015-05-231-95/+89
| | | |
* | | | Merge branch 'master' into merge-fastcgiXinchen Hui2015-05-231-1/+4
|\ \ \ \ | |/ / /
| * | | Tweak uncaught exception message displayNikita Popov2015-05-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This implements a reduced variant of #1226 with just the following change: -Fatal error: Uncaught exception 'EngineException' with message 'Call to private method foo::bar() from context ''' in %s:%d +Fatal error: Uncaught EngineException: Call to private method foo::bar() from context '' in %s:%d The '' wrapper around messages is very weird if the exception message itself contains ''. Futhermore having the message wrapped in '' doesn't work for the "and defined" suffix of TypeExceptions.
| * | | Display EngineExceptions like ordinary exceptionsNikita Popov2015-05-151-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TypeException stays as-is for now because it uses messages that are incompatible with the way exception messages are displayed. closure_038.phpt and a few others now show that we're generating too many exceptions for compound operations on undefined properties -- this needs to be fixed in a followup.
* | | | Use logger pointerXinchen Hui2015-05-191-0/+9
| | | |
* | | | Move fastcgi.c to mainXinchen Hui2015-05-194-1717/+2
|/ / /
* | | Drop zend_indent() as it was never used, complete or workingKalle Sommer Nielsen2015-03-271-18/+0
| | |
* | | made ZEND_TSRMLS_CACHE_* macros look like function callsAnatol Belski2015-02-161-3/+3
| | | | | | | | | | | | which also comply with the current semantics for such macros
* | | remove useless conditionAnatol Belski2015-02-111-3/+0
| | |
* | | Merge branch 'pull-request/884'Stanislav Malyshev2015-02-011-0/+2
|\ \ \ | | | | | | | | | | | | | | | | * pull-request/884: Fix #66479: Wrong response to FCGI_GET_VALUES
| * | | Fix #66479: Wrong response to FCGI_GET_VALUESFrank Stolle2014-10-301-0/+2
| | | | | | | | | | | | | | | | Requesting Get-Values via FCGI caused an "endless" loop over the last requested parameter and ended with an invalid response. this patch solves this loop bug.
* | | | Merge branch 'PHP-5.6'Stanislav Malyshev2015-01-311-1/+5
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.6: Use better constant since MAXHOSTNAMELEN may mean shorter name use right sizeof for memset Conflicts: ext/sockets/sockaddr_conv.c ext/standard/dns.c
| * | | Merge branch 'PHP-5.5' into PHP-5.6Stanislav Malyshev2015-01-311-1/+5
| |\ \ \ | | | |/ | | |/| | | | | | | | | | | | | * PHP-5.5: Use better constant since MAXHOSTNAMELEN may mean shorter name use right sizeof for memset
| | * | Merge branch 'PHP-5.4' into PHP-5.5Stanislav Malyshev2015-01-311-1/+5
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.4: Use better constant since MAXHOSTNAMELEN may mean shorter name use right sizeof for memset
| | | * | Use better constant since MAXHOSTNAMELEN may mean shorter nameStanislav Malyshev2015-01-311-1/+5
| | | | |
| * | | | Merge branch 'PHP-5.5' into PHP-5.6Stanislav Malyshev2015-01-311-1/+5
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | | | | | | * PHP-5.5: Add mitigation for CVE-2015-0235 (bug #68925) Add mitigation for CVE-2015-0235 (bug #68925)
| | * | | Merge branch 'PHP-5.4' into PHP-5.5Stanislav Malyshev2015-01-311-1/+5
| | |\ \ \ | | | |/ / | | | | | | | | | | | | | | | * PHP-5.4: Add mitigation for CVE-2015-0235 (bug #68925)
| | | * | Add mitigation for CVE-2015-0235 (bug #68925)Stanislav Malyshev2015-01-311-1/+5
| | | | |
* | | | | Add mitigation for CVE-2015-0235 (bug #68925)Stanislav Malyshev2015-01-311-2/+6
| | | | |