| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| | |
* PHP-5.4:
Fixed bug #66830 (Empty header causes PHP built-in web server to hang).
|
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|\ \
| |/
| |
| |
| |
| | |
* PHP-5.4:
Update copyright year to 2014
Update copyright year to 2014
|
| | |
|
|\ \
| |/
| |
| |
| | |
* PHP-5.4:
Add 308 and 426 to the HTTP response code map in the CLI server.
|
| |
| |
| |
| | |
Implements FR #67429 (CLI server is missing some new HTTP response codes).
|
|\ \
| |/
| |
| |
| |
| | |
* PHP-5.4:
NEWS
Fixed bug #67406 built-in web-server segfaults on startup
|
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
|\ \
| |/
| |
| |
| |
| | |
* PHP-5.4:
man page: long option name is --strip, not --stripped
--global have be removed in 5.2
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
* CLIGetAllHeadersBackport:
Removed UPGRADING note
Rewrote test using tcp instead of http:// stream
Implemented FR #65917 (getallheaders() is not supported by the built-in...)
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- Implemented apache_request_headers() and getallheaders() alias in CLI server
- Implemented apache_response_headers() in CLI server using FastCGI code
Conflicts:
NEWS
UPGRADING
|
|/ /
| |
| |
| |
| |
| |
| |
| | |
existing lookup list, pending a more thorough lookup solution, if
anyone wants to do that. Ref http://news.php.net/php.internals/69990
A router can be used to add to, or override, the MIME type lookups,
see http://php.net/manual/en/features.commandline.webserver.php
|
|\ \
| |/
| |
| |
| |
| | |
* PHP-5.4:
- Fixed bug #65818 (Segfault with built-in webserver and chunked transfer encoding)
- BFN
|
| |
| |
| |
| | |
encoding)
|
| |
| |
| |
| |
| |
| | |
environnement
Patch by Pierre Renaudet
|
| | |
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| |
| | |
* PHP-5.4:
Handle CLI server request headers case insensitively.
5.4.21 now
Conflicts:
configure.in
main/php_version.h
|
| |
| |
| |
| | |
Fixes bug #65633 (built-in server treat some http headers as case-sensitive).
|
|\ \
| |/
| |
| |
| |
| |
| |
| | |
* PHP-5.4:
Reduce (some) compile noise of 'unused variable' and 'may be used uninitialized' warnings.
Conflicts:
ext/dba/libinifile/inifile.c
|
| |
| |
| |
| | |
uninitialized' warnings.
|
|\ \
| |/
| |
| |
| |
| |
| |
| | |
* PHP-5.4:
Add built-in web server to invocation list
Terminology: change embedded web server to built-in web server to align with cli usage
Align -B and -E parameter names with cli usage (begin_code and end_code)
Fix Bug #65219 DBSETLDBNAME should be called before login to set DBNAME in login record
|
| | |
|
| |
| |
| |
| | |
cli usage
|
| | |
|
|\ \
| |/
| |
| |
| | |
* PHP-5.4:
fix typo in php man page
|
| | |
|
|\ \
| |/
| |
| |
| |
| |
| | |
* PHP-5.4:
Fixed Bug #65142 Missing phar man page
NEWS
Fixed Bug #65143 Missing php-cgi man page
|
| |
| |
| |
| |
| |
| |
| | |
Currently php-cgi man page is a simple redirect to
php (CLI) man page.
Could be splited / improved in the future.
|
|\ \
| |/
| |
| |
| |
| | |
* PHP-5.4:
Fix the spelling of the php_cli_server_http_response_status_code_pair typedef.
Change the search in get_status_string() to correctly handle unknown codes.
|
| |
| |
| |
| |
| | |
Specifically: php_cli_server_http_reponse_status_code_pair →
php_cli_server_http_response_status_code_pair.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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).
|
| | |
|
| |
| |
| |
| | |
some OS atexit() handlers call getenv()
|
| | |
|
| |
| |
| |
| |
| | |
The frozen_envion is needed, since if an item in environ is updated
(like the test script HOME one), invalid free still shows up
|
|\ \
| | |
| | |
| | |
| | | |
* pull-request/313:
Patch for Bug #64544. The process title change module keeps track of the locally allocated environ, so it doesn't need to worry about when environ changes underneath it, for example by putenv()/setenv()
|
| | |
| | |
| | |
| | |
| | |
| | | |
The process title change module keeps track of the locally allocated
environ, so it doesn't need to worry about when environ changes
underneath it, for example by putenv()/setenv()
|
| | |
| | |
| | |
| | | |
Test was using die "Foo" instead of die("Foo").
|
|\ \ \
| | |/
| |/| |
|
| | | |
|
|\ \ \
| |/ / |
|
| | | |
|
|\ \ \
| |/ / |
|