summaryrefslogtreecommitdiff
path: root/sapi/cgi/cgi_main.c
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | don't define tsrm ls in SAPIs under linuxAnatol Belski2014-10-151-0/+2
| | | | | | | | | | | | | | | | | | | | as it's compiled statically with the core
* | | | | moved most of the core to use static tsrm ls cache pointerAnatol Belski2014-10-151-1/+6
|/ / / / | | | | | | | | | | | | plus apache2handler, cli and cgi
* | | | fix signed/unsigned mismatchAnatol Belski2014-10-131-1/+6
| | | |
* | | | s/PHP 5/PHP 7/Johannes Schlüter2014-09-191-1/+1
| | | |
* | | | reduce struct size by 8 byte on 64 bitAnatol Belski2014-09-141-2/+2
| | | |
* | | | fix ftell/fseek callsAnatol Belski2014-09-141-2/+2
| | | |
* | | | Added ability to make a number of "warmup" requests before an actual benchmark.Dmitry Stogov2014-09-081-6/+27
| | | | | | | | | | | | | | | | (php-cgi -T [<number-of-warmup-requests>,]<number-of-benchmark-requests> <file>)
* | | | Remove ZEND_ACC_INTERACTIVE and CG(interactive)Nikita Popov2014-08-251-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As far as I can discern these are leftovers of the interactive shell implementation that was used before PHP 5.4. Now the readline ext makes use of normal eval calls for this. So, dropping these until there is evidence to the contrary, as they currently wouldn't work anyway.
* | | | master renames phase 3Anatol Belski2014-08-251-12/+12
| | | |
* | | | master renames phase 1Anatol Belski2014-08-251-2/+2
| | | |
* | | | ported fcgiAnatol Belski2014-08-191-16/+16
| | | |
* | | | cleanup (we don't have to duplicate elements of module_registry)Dmitry Stogov2014-08-131-1/+0
| | | |
* | | | Fixed apply_func_t (they should be broken before)Xinchen Hui2014-05-251-1/+1
| | | |
* | | | There should been memory leaks(and don't use pointer cast)Xinchen Hui2014-05-081-2/+4
| | | |
* | | | Fix php-cgi -mNikita Popov2014-05-011-3/+4
| | | |
* | | | Merge mainstream 'master' branch into refactoringDmitry Stogov2014-04-261-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During merge I had to revert: Nikita's patch for php_splice() (it probably needs to be applyed again) Bob Weinand's patches related to constant expression handling (we need to review them carefully) I also reverted all our attempts to support sapi/phpdbg (we didn't test it anyway) Conflicts: Zend/zend.h Zend/zend_API.c Zend/zend_ast.c Zend/zend_compile.c Zend/zend_compile.h Zend/zend_constants.c Zend/zend_exceptions.c Zend/zend_execute.c Zend/zend_execute.h Zend/zend_execute_API.c Zend/zend_hash.c Zend/zend_highlight.c Zend/zend_language_parser.y Zend/zend_language_scanner.c Zend/zend_language_scanner_defs.h Zend/zend_variables.c Zend/zend_vm_def.h Zend/zend_vm_execute.h ext/date/php_date.c ext/dom/documenttype.c ext/hash/hash.c ext/iconv/iconv.c ext/mbstring/tests/zend_multibyte-10.phpt ext/mbstring/tests/zend_multibyte-11.phpt ext/mbstring/tests/zend_multibyte-12.phpt ext/mysql/php_mysql.c ext/mysqli/mysqli.c ext/mysqlnd/mysqlnd_reverse_api.c ext/mysqlnd/php_mysqlnd.c ext/opcache/ZendAccelerator.c ext/opcache/zend_accelerator_util_funcs.c ext/opcache/zend_persist.c ext/opcache/zend_persist_calc.c ext/pcre/php_pcre.c ext/pdo/pdo_dbh.c ext/pdo/pdo_stmt.c ext/pdo_pgsql/pgsql_driver.c ext/pgsql/pgsql.c ext/reflection/php_reflection.c ext/session/session.c ext/spl/spl_array.c ext/spl/spl_observer.c ext/standard/array.c ext/standard/basic_functions.c ext/standard/html.c ext/standard/mail.c ext/standard/php_array.h ext/standard/proc_open.c ext/standard/streamsfuncs.c ext/standard/user_filters.c ext/standard/var_unserializer.c ext/standard/var_unserializer.re main/php_variables.c sapi/phpdbg/phpdbg.c sapi/phpdbg/phpdbg_bp.c sapi/phpdbg/phpdbg_frame.c sapi/phpdbg/phpdbg_help.c sapi/phpdbg/phpdbg_list.c sapi/phpdbg/phpdbg_print.c sapi/phpdbg/phpdbg_prompt.c
| * \ \ \ Merge branch 'PHP-5.6'Bob Weinand2014-04-111-1/+1
| |\ \ \ \ | | |/ / /
| | * | | Shut up, my lovely compiler; I do not like your warningsBob Weinand2014-04-111-1/+1
| | | | |
* | | | | Combine HashTable.flags and HashTable.nApplyCount into single 32-bit wordDmitry Stogov2014-04-211-3/+3
| | | | |
* | | | | Cleanup (1-st round)Dmitry Stogov2014-04-151-3/+3
| | | | |
* | | | | Fixed string lengthDmitry Stogov2014-03-171-2/+2
| | | | |
* | | | | Use better data structures (incomplete; able to run bench.php)Dmitry Stogov2014-02-181-1/+1
| | | | |
* | | | | Use better data structures (incomplete)Dmitry Stogov2014-02-141-26/+19
| | | | |
* | | | | Use better data structures (incomplete)Dmitry Stogov2014-02-101-4/+4
|/ / / /
* | | | Merge branch 'PHP-5.6'Xinchen Hui2014-01-031-3/+3
|\ \ \ \ | |/ / /
| * | | Bump yearXinchen Hui2014-01-031-3/+3
| | | |
* | | | - Fixed buildFelipe Pena2013-12-181-1/+1
| | | |
* | | | Pass the TSRMLS parameters to the sapi flush hook, this shaves off a few ↵Kalle Sommer Nielsen2013-12-181-2/+2
| | | | | | | | | | | | | | | | TSRMLS_FETCH() calls in our various SAPIs
* | | | Kill another TSRMLS_FETCH() in the zend extension loading codeKalle Sommer Nielsen2013-12-181-1/+1
| | | |
* | | | Kill another TSRMLS_FETCH() in zend_indent()Kalle Sommer Nielsen2013-12-121-1/+1
|/ / /
* | | Merge branch 'PHP-5.5' into PHP-5.6Andrea Faulds2013-11-181-2/+2
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | * PHP-5.5: Updated NEWS Removed UPGRADING note Rewrote test using tcp instead of http:// stream Implemented FR #65917 (getallheaders() is not supported by the built-in...)
| * | Implemented FR #65917 (getallheaders() is not supported by the built-in...)Andrea Faulds2013-11-121-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | - Implemented apache_request_headers() and getallheaders() alias in CLI server - Implemented apache_response_headers() in CLI server using FastCGI code Conflicts: NEWS UPGRADING
* | | Merge branch 'pull-request/500'Anatol Belski2013-11-051-2/+2
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * pull-request/500: limit virtual_cwd_activate() duplicated call to ZTS only reverted the previous commit, both calls are needed in TS mode virtual_cwd_activate() should be called only in one place back to do_alloca() removed unnecessary call simplify the state free macros compact the code to preserve the error info after state freeing back to do_alloca(), reverted the wrong replacement enabled windows to use stack in both ts/nts mode, some more fixes moved to do_alloca() usage where appropriate fixed invalid free fixed virtual cwd header in phar updated NEWS fixed all the places where last error could be lost preserve the error code applied and fixed the original patch initial move on renaming files and fixing includes Conflicts: ext/opcache/ZendAccelerator.c
| * | | fixed invalid freeAnatol Belski2013-10-211-2/+2
| | | |
| * | | Merge branch 'PHP-5.5'Dmitry Stogov2013-10-011-22/+5
| |\ \ \ | | | | | | | | | | | | | | | | | | | | * PHP-5.5: Reverted patch (it was used for internal testing and was committed by accident)
| | * | | Reverted patch (it was used for internal testing and was committed by accident)Dmitry Stogov2013-10-011-22/+5
| | | | |
| * | | | Merge branch 'PHP-5.5'Dmitry Stogov2013-09-271-5/+22
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.5: Added support for GNU Hurd. (Svante Signell) Conflicts: NEWS
| | * | | Added support for GNU Hurd. (Svante Signell)Dmitry Stogov2013-09-271-5/+22
| | |/ /
* | | | fix limitation of upload size == (U)INT_MAX in CGIMichael Wallner2013-10-281-1/+4
|/ / /
* | | Patch for https://bugs.php.net/bug.php?id=44522 to allow uploading filesRalf Lang2013-08-061-1/+1
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | above 2G. This is essentially the same as the patch "uploads_larger_than_2g_HEAD_v2 (last revision 2012-03-26 03:59 UTC) by jason at infininull dot com)" but using off_t instead of signed long (originally: uint) I tested this on 64bit linux and succeeded uploading a file of 4.8 G. The File did not get corrupted or truncated in any way. I did not yet test this under windows or 32 bit linux Note that there are still limitations: * Did not test for files > 8 G * php does not yet reject absurdly high values * Still limited by underlying file system specific limits and free space * in upload * tmp dir and destination dir
* | Added PHP_FCGI_BACKLOG, overrides the default listen backlogArnaud Le Blanc2013-06-291-1/+5
| |
* | Merge branch 'PHP-5.4' into PHP-5.5Stanislav Malyshev2013-02-171-0/+4
|\ \ | |/ | | | | | | * PHP-5.4: Added HTTP codes as of RFC 6585
| * Added HTTP codes as of RFC 6585Jonh Wendell2013-02-171-0/+4
| | | | | | | | | | | | | | | | | | Added descriptions for the new HTTP codes: - 428 Precondition Required - 429 Too Many Requests - 431 Request Header Fields Too Large - 511 Network Authentication Required
| * Happy New YearXinchen Hui2013-01-011-3/+3
| |
* | Happy New YearXinchen Hui2013-01-011-3/+3
| |
* | Merge branch 'PHP-5.4'Stanislav Malyshev2012-05-081-2/+8
|\ \ | |/ | | | | | | | | | | | | * PHP-5.4: c++ comments restore BC ws + restore BC to apache_request_headers fix bug #61807 - Buffer Overflow in apache_request_headers
| * c++ commentsStanislav Malyshev2012-05-081-4/+4
| |
| * ws + restore BC to apache_request_headersStanislav Malyshev2012-05-081-7/+7
| |
| * fix bug #61807 - Buffer Overflow in apache_request_headersStanislav Malyshev2012-05-081-2/+8
| |
| * improve fix for CVE-2012-1823Stanislav Malyshev2012-05-071-3/+8
| |