Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | This test should pass | Johannes Schlüter | 2014-09-27 | 1 | -2/+0 |
| | |||||
* | Fixed bug #66830 (Empty header causes PHP built-in web server to hang). | Adam Harvey | 2014-07-07 | 2 | -4/+46 |
| | | | | | | | | We had an infinite loop in sapi_cli_server_send_headers(): while iterating over the linked list of headers, when an empty header was hit, continue would go to the next iteration of the loop without updating h to be the next value in the linked list. Updating it to always increment regardless of whether the header is actually valid or not fixes the issue. | ||||
* | Update copyright year to 2014 | Lior Kaplan | 2014-06-17 | 1 | -1/+1 |
| | |||||
* | Add 308 and 426 to the HTTP response code map in the CLI server. | Adam Harvey | 2014-06-12 | 2 | -0/+51 |
| | | | | Implements FR #67429 (CLI server is missing some new HTTP response codes). | ||||
* | Fixed bug #67406 built-in web-server segfaults on startup | Remi Collet | 2014-06-10 | 1 | -3/+3 |
| | | | | | | | | Reproduce on aarch64. From select man page: "select() may update the timeout argument to indicate how much time was left." So "const" is not ok. | ||||
* | man page: long option name is --strip, not --stripped | Remi Collet | 2014-02-28 | 1 | -1/+1 |
| | |||||
* | --global have be removed in 5.2 | Remi Collet | 2014-02-28 | 1 | -9/+0 |
| | |||||
* | Bump year | Xinchen Hui | 2014-01-03 | 4 | -5/+5 |
| | |||||
* | - Fixed bug #65818 (Segfault with built-in webserver and chunked transfer ↵ | Felipe Pena | 2013-10-05 | 1 | -0/+1 |
| | | | | encoding) | ||||
* | Handle CLI server request headers case insensitively. | Adam Harvey | 2013-09-09 | 2 | -10/+55 |
| | | | | Fixes bug #65633 (built-in server treat some http headers as case-sensitive). | ||||
* | Reduce (some) compile noise of 'unused variable' and 'may be used ↵ | Christopher Jones | 2013-08-14 | 1 | -1/+1 |
| | | | | uninitialized' warnings. | ||||
* | Add built-in web server to invocation list | Lior Kaplan | 2013-07-14 | 1 | -1/+2 |
| | |||||
* | Terminology: change embedded web server to built-in web server to align with ↵ | Lior Kaplan | 2013-07-14 | 1 | -3/+3 |
| | | | | cli usage | ||||
* | Align -B and -E parameter names with cli usage (begin_code and end_code) | Lior Kaplan | 2013-07-14 | 1 | -8/+8 |
| | |||||
* | fix typo in php man page | Remi Collet | 2013-07-02 | 1 | -1/+1 |
| | |||||
* | Fixed Bug #65143 Missing php-cgi man page | Remi Collet | 2013-07-02 | 1 | -0/+2 |
| | | | | | | | Currently php-cgi man page is a simple redirect to php (CLI) man page. Could be splited / improved in the future. | ||||
* | Fix the spelling of the php_cli_server_http_response_status_code_pair typedef. | Adam Harvey | 2013-06-20 | 1 | -8/+8 |
| | | | | | Specifically: php_cli_server_http_reponse_status_code_pair → php_cli_server_http_response_status_code_pair. | ||||
* | Change the search in get_status_string() to correctly handle unknown codes. | Adam Harvey | 2013-06-20 | 4 | -13/+146 |
| | | | | | | | | | | | | | | | | | This previously used a buggy implementation of binary search that would loop infinitely for unknown codes when searching in reason arrays of particular sizes (such as the one we have at the moment). Since C provides bsearch(), we'll just use that instead, since libc authors hopefully get this right. There was also an additional bug that was masked by the first one: the design was that an unknown code would result in get_status_string() returning NULL, which would then result in a segfault in append_http_status_line(), since it assumed that it would always receive a valid string pointer that could be handed off to smart_str_appends_ex(). We'll now return a placeholder in that case. Fixes bug #65066 (Cli server not responsive when responding with 422 http status code). | ||||
* | Forgot to fix the test on 5.4 | Nikita Popov | 2013-03-28 | 1 | -1/+1 |
| | |||||
* | Attempt to fix SKIP | Xinchen Hui | 2013-03-28 | 1 | -2/+7 |
| | |||||
* | Fix test on Mac (\D shows up) | Xinchen Hui | 2013-03-28 | 1 | -1/+1 |
| | |||||
* | Add test for #64529 | Xinchen Hui | 2013-03-28 | 1 | -0/+62 |
| | |||||
* | Document embedded server options in manpage | Johannes Schlüter | 2013-03-24 | 1 | -1/+27 |
| | |||||
* | Merge branch 'PHP-5.3' into PHP-5.4 | Johannes Schlüter | 2013-03-24 | 1 | -2/+2 |
|\ | |||||
| * | It's 2013, even for a manpage | Johannes Schlüter | 2013-03-24 | 1 | -2/+2 |
| | | |||||
| * | Happy New Year~ | Xinchen Hui | 2013-01-01 | 3 | -4/+4 |
| | | |||||
* | | - add reminder for checking return values | Pierre Joye | 2013-03-24 | 1 | -0/+2 |
| | | |||||
* | | - fix x64 issues on windows with the various time types (overflow, signed ↵ | Pierre Joye | 2013-03-23 | 1 | -16/+43 |
| | | | | | | | | | | | | and unsigned bits ops, etc.) causing crashes on start, error or log, must be done in win32/time.c for some of these functions too Signed-off-by: Anatol Belski <ab@php.net> | ||||
* | | Added HTTP codes as of RFC 6585 | Jonh Wendell | 2013-02-17 | 1 | -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 | ||||
* | | Fixed bug #64128 buit-in web server is broken on ppc64. | Remi Collet | 2013-02-01 | 1 | -17/+13 |
| | | | | | | | | | | | | fdset management using bit operator is broken on non-x86 arch and cause built-in server the enter an infinite loop of "select" and never handle any request. | ||||
* | | Bug #43177: If an eval() has a parse error, the overall exit status and ↵ | Stanislav Malyshev | 2013-01-01 | 1 | -0/+82 |
| | | | | | | | | | | | | | | return code should not be affected. Without this fix, a webpage using eval() may return code 500. That might display fine and the 500 go unnoticed, but using AJAX or wget, the 500 will cause problems. | ||||
* | | Happy New Year | Xinchen Hui | 2013-01-01 | 4 | -5/+5 |
| | | |||||
* | | update test for supported Mime Types checking | pascalc | 2012-12-14 | 1 | -133/+31 |
| | | |||||
* | | update list of common Mime Types in PHP development server to support Web ↵ | pascalc | 2012-12-14 | 1 | -1/+4 |
| | | | | | | | | audio/video formats (Webm ,and Ogg containers) + have jpeg mime types listed together | ||||
* | | Fixed test sapi/cli/tests/006.phpt | Anatoliy Belsky | 2012-11-14 | 1 | -1/+1 |
| | | | | | | | | Third param in preg_match_all() is optional for a while ) | ||||
* | | Implemented FR #63242 (Default error page in PHP built-in web server uses ↵ | Xinchen Hui | 2012-10-10 | 3 | -33/+21 |
| | | | | | | | | outdated html/css) | ||||
* | | Merge branch 'PHP-5.3' into PHP-5.4 | Xinchen Hui | 2012-10-10 | 1 | -0/+0 |
|\ \ | |/ | |||||
| * | Remove executable permission on phpt | Xinchen Hui | 2012-10-10 | 1 | -0/+0 |
| | | |||||
* | | Merged GitHub PR #190: Support for the HTTP PATCH method in CLI webserver | Lars Strojny | 2012-09-18 | 3 | -0/+48 |
| | | |||||
* | | Respond with 501 to unknown request methods | Niklas Lindgren | 2012-09-15 | 4 | -22/+71 |
| | | | | | | | | | | | | | | | | Fixed typo Moved 501 response from dispatch to event_read_request Return return value of send_error_page | ||||
* | | Merge branch 'PHP-5.3' into PHP-5.4 | Xinchen Hui | 2012-09-05 | 1 | -1/+1 |
|\ \ | |/ | | | | | | | Conflicts: ext/interbase/interbase.rc | ||||
* | | - Fixed bug #62829 (stdint.h included on platform where HAVE_STDINT_H is not ↵ | Felipe Pena | 2012-08-16 | 1 | -1/+4 |
| | | | | | | | | set) | ||||
* | | Fixed bug #62725 (Calling exit() in a shutdown function does not return the ↵ | Xinchen Hui | 2012-08-02 | 1 | -3/+3 |
| | | | | | | | | | | | | exit value) The fix is make 5.4 behavior consistent with 5.3 | ||||
* | | Sleep a little bit more, in some slow machine (like gcov), it will take a ↵ | Xinchen Hui | 2012-08-01 | 1 | -1/+1 |
| | | | | | | | | little more time to setup server | ||||
* | | Implemented FR #62700 (have the console output 'Listening on ↵ | Xinchen Hui | 2012-07-31 | 1 | -1/+1 |
| | | | | | | | | http://localhost:8000') | ||||
* | | Fix Bug #62612 readline extension compilation fails | Johannes Schlüter | 2012-07-22 | 1 | -0/+2 |
| | | |||||
* | | Improve error message for ssl request | Xinchen Hui | 2012-07-22 | 1 | -1/+5 |
| | | |||||
* | | Merge branch 'PHP-5.3' into PHP-5.4 | Johannes Schlüter | 2012-06-27 | 1 | -0/+3 |
|\ \ | |/ | | | | | | | | | | | | | * PHP-5.3: Fix memleak in CLI Conflicts: sapi/cli/php_cli.c | ||||
| * | Fix memleak in CLI | Johannes Schlüter | 2012-06-27 | 1 | -0/+3 |
| | | |||||
* | | Fix potential leak in cli server | stealth35 | 2012-06-16 | 1 | -0/+3 |
| | |