summaryrefslogtreecommitdiff
path: root/sapi/cgi/cgi_main.c
Commit message (Collapse)AuthorAgeFilesLines
* Pass error severity to SAPI modules and raise corresponding error level in ↵Martin Vobruba2016-07-111-1/+1
| | | | Apache
* Fixed compilation warningsDmitry Stogov2016-06-281-2/+3
|
* Fixed compilation warningsDmitry Stogov2016-06-211-2/+2
|
* Improved support for zend-signals.Dmitry Stogov2016-06-201-0/+2
|
* Cleanup zend_signal APIDmitry Stogov2016-06-201-2/+0
|
* Merge branch 'PHP-7.0'Nikita Popov2016-03-031-1/+1
|\
| * Move semicolon into TSRMLS_CACHE_EXTERN/DEFINENikita Popov2016-03-031-1/+1
| | | | | | | | Also re bug #71575.
* | fix callback signature compatAnatol Belski2016-02-231-1/+1
| |
* | reorder commentsAnatol Belski2016-01-191-2/+4
| |
* | get rid of win32_ prefixAnatol Belski2016-01-191-28/+29
| |
* | check return values and cleanup the job object on exitAnatol Belski2016-01-191-12/+27
| |
* | trap also children exits on shutdown to avoid unhandled exceptionsAnatol Belski2016-01-181-0/+7
| |
* | implement FCGI children automatic restart and cleanupAnatol Belski2016-01-131-47/+80
| |
* | Basic implementation for FCGI to respect PHP_FCGI_CHILDREN on WindowsAnatol Belski2016-01-131-9/+74
|/ | | | | | | | PHP_FCGI_CHILDREN number of children processes will be spawned, sharing same TCP socket. To implement yet - children cleanup on exit - automatic children re-spawning
* 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-011-3/+3
| |
| * Added support for HTTP 451Julien Pauli2015-12-231-0/+1
| |
| * Fix globals initialization in sapi/cgiAnatol Belski2015-10-231-5/+6
| | | | | | | | Basically backport 8430ec17
* | rm duplicate includeLynn2015-11-071-1/+0
| |
* | 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.
* | 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
| |
* | 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
| |
* | Use logger pointerXinchen Hui2015-05-191-0/+9
| |
* | 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
| |
* | fix datatype mismatches, improve error checksAnatol Belski2015-01-301-1/+1
| |
* | Merge branch 'PHP-5.6'Xinchen Hui2015-01-271-2/+5
|\ \ | |/ | | | | | | Conflicts: sapi/cgi/cgi_main.c
| * Merge branch 'PHP-5.5' into PHP-5.6Xinchen Hui2015-01-271-2/+5
| |\
| | * Also Fixed #68571 in CGI SAPI, and some cleanupXinchen Hui2015-01-271-2/+5
| | |
| | * Bump yearXinchen Hui2015-01-151-3/+3
| | |
| * | bump yearXinchen Hui2015-01-151-3/+3
| | |
* | | bump yearXinchen Hui2015-01-151-3/+3
| | |
* | | Faster sorting algoXinchen Hui2015-01-141-1/+1
| | |
* | | trailing whitespace removalStanislav Malyshev2015-01-101-8/+8
| | |
* | | Merge branch 'PHP-5.6'Stanislav Malyshev2014-12-301-2/+5
|\ \ \ | |/ / | | | | | | | | | | | | | | | * PHP-5.6: FIx bug #68618 (out of bounds read crashes php-cgi) Fixed bug #68676 (Explicit Double Free) Fixed bug #68676 (Explicit Double Free)
| * | Merge branch 'PHP-5.5' into PHP-5.6Stanislav Malyshev2014-12-301-2/+5
| |\ \ | | |/ | | | | | | | | | | | | * PHP-5.5: FIx bug #68618 (out of bounds read crashes php-cgi) Fixed bug #68676 (Explicit Double Free)
| | * Merge branch 'PHP-5.4' into PHP-5.5Stanislav Malyshev2014-12-301-2/+5
| | |\ | | | | | | | | | | | | | | | | * PHP-5.4: FIx bug #68618 (out of bounds read crashes php-cgi)
| | | * FIx bug #68618 (out of bounds read crashes php-cgi)Stanislav Malyshev2014-12-301-2/+5
| | | |
| | | * Bump yearXinchen Hui2014-01-031-3/+3
| | | |
* | | | Unify HTTP status code mapsAndrea Faulds2014-12-211-53/+4
| | | |