summaryrefslogtreecommitdiff
path: root/sapi/cgi/cgi_main.c
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
| | | |
* | | | first shot remove TSRMLS_* thingsAnatol Belski2014-12-131-85/+85
| | | |
* | | | Merge remote-tracking branch 'origin/master' into native-tlsAnatol Belski2014-12-051-33/+47
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * origin/master: (111 commits) Fix zend_fcall_info_arg*() to use ZVAL_COPY Fixed #65213 - cannot cast SplFileInfo to boolean add initial install switch to C travis project instead of PHP use the generic TRAVIS environment var to check for travis (see http://docs.travis-ci.com/user/ci-environment/) fix TS build add config option to target codegen architectures updated NEWS updated NEWS Fixed bug #55541 errors spawn MessageBox, which blocks test automation Get rid of duplicate handlers (ZEND_ADD_SPEC_TMP_TMP and ZEND_ADD_SPEC_VAR_VAR are absolutely the same). Use zend_string* for op_array->arg_info[]->name and op_array->arg_info[]->class_name. For internal functions we still use char*. Fixed __debugInfo() support Update UPGRADING for the new variadic functions, and re-sort. Improved POST INC/DEC make sure that we don't truncate the stack trace and cause false test failures when the test is executed in a directory with long path Missed closed folder mark Revert "Unecessary assignment" Fixed improper memory release Unecessary assignment ...
| * | | | fix datatype mismatches and warningsAnatol Belski2014-12-021-11/+22
| | | | |
| * | | | fix datatype mismatchesAnatol Belski2014-12-021-5/+5
| | | | |
| * | | | fix datatype mismatchesAnatol Belski2014-12-021-8/+8
| | | | |
| * | | | fix datatype mismatchAnatol Belski2014-12-021-3/+3
| | | | |
| * | | | fix datatype mismatchesAnatol Belski2014-12-021-4/+5
| | | | |
| * | | | Merge branch 'PHP-5.6'Anatol Belski2014-12-011-3/+5
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | * PHP-5.6: fix possible null pointer math
| | * | | Merge branch 'PHP-5.5' into PHP-5.6Anatol Belski2014-12-011-3/+5
| | |\ \ \ | | | |/ / | | | | | | | | | | | | | | | * PHP-5.5: fix possible null pointer math
| | | * | fix possible null pointer mathAnatol Belski2014-12-011-3/+5
| | | | |
| | | * | Bump yearXinchen Hui2014-01-031-3/+3
| | | | |
| | * | | typo fixes - https://github.com/vlajos/misspell_fixerVeres Lajos2014-11-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ext/ftp/ftp.h ext/pcre/pcrelib/pcre_printint.c ext/pcre/pcrelib/sljit/sljitLir.c ext/pcre/pcrelib/sljit/sljitLir.h ext/pcre/pcrelib/sljit/sljitNativeARM_32.c ext/pcre/pcrelib/sljit/sljitNativeTILEGX_64.c ext/pgsql/pgsql.c ext/phar/func_interceptors.c ext/soap/soap.c ext/standard/image.c
* | | | | Merge remote-tracking branch 'origin/master' into native-tlsAnatol Belski2014-11-261-1/+1
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * origin/master: (102 commits) fix dir separator in test fix TS build fix TS build Better fix for bug #68446 Revert "Merge remote-tracking branch 'origin/PHP-5.6'" Revert NEWS and set test to XFAIL Revert "Fix bug #68446 (bug with constant defaults and type hints)" Improved zend_hash_clean() and added new optimized zend_symtable_clean() Use inline version of zval_ptr_dtor() Added new optimized zend_array_destroy() function Moved i_zval_ptr_dtor() from zend_execute.h to zend_variables.h fix REGISTER_NS_*_CONSTANT macros Removed useless assert. EG(uninitialized_zval) can't be refcounted. Use specialized destructors when types of zvals are known. move tests into proper place Improved assignment to object property Reuse zend_assign_to_variable() in zend_std_write_property() cleanup comments from svn/cvs era fix dir separator in test fork test for windows ...
| * | | | typo fixes - https://github.com/vlajos/misspell_fixerVeres Lajos2014-11-231-1/+1
| | | | |