| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
| |
Fixes bug #68745 (Invalid HTTP requests make web server segfault).
|
|
|
|
|
|
| |
Add port range verification of listening port with -S option for the php cli.
This fixes inconsistent listening port due to unverified cast from long to short
with htons(3).
|
| |
|
|\
| |
| |
| |
| | |
* 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:
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.
|
| | |
|
| | |
|
| | |
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
* 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)
|
| | |
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| |
| | |
* 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:
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).
|
|\ \
| |/
| |
| |
| | |
* PHP-5.4:
- add reminder for checking return values
|
| | |
|
|\ \
| |/
| |
| |
| | |
* PHP-5.4:
- fix x64 issues on windows with the various time types (overflow, signed 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
|
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| | |
A new commit into branch 5.5
|
|\ \
| |/
| |
| |
| | |
* PHP-5.4:
Added HTTP codes as of RFC 6585
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Added descriptions for the new HTTP codes:
- 428 Precondition Required
- 429 Too Many Requests
- 431 Request Header Fields Too Large
- 511 Network Authentication Required
|
|\ \
| |/
| |
| |
| | |
* PHP-5.4:
Fixed bug #64128 buit-in web server is broken on ppc64.
|
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
| |
| |
| |
| | |
consistent layout across browsers
|
| | |
|
|\ \
| |/ |
|
| |
| |
| |
| | |
audio/video formats (Webm ,and Ogg containers) + have jpeg mime types listed together
|
|\ \
| |/ |
|
| |
| |
| |
| | |
outdated html/css)
|
|\ \
| |/
| |
| |
| | |
* PHP-5.4:
Respond with 501 to unknown request methods
|
| |
| |
| |
| |
| |
| |
| |
| | |
Fixed typo
Moved 501 response from dispatch to event_read_request
Return return value of send_error_page
|
|\ \
| |/
|/|
| |
| |
| |
| |
| |
| | |
* pull-request/132:
OK, bye bye JavaScript, let's just include credits before license
Nicer (JSLint-compliant!) credits reveal JavaScript
Removed now-unnecessary expose_php checks for logo
Fixed small misalignment in prev commit
Removed Logo GUIDs and replaced with Data URIs and div hidden with JS
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- removed php_logo_guid()
- removed php_egg_logo_guid()
- removed php_real_logo_guid()
- removed zend_logo_guid()
- removed logo GUID handling
- removed logo GUIDs from source
- added logo data URIs instead for phpinfo()
- added credits to phpinfo() page, but hidden by default
|
| |
| |
| |
| | |
http://localhost:8000')
|
|/ |
|
| |
|