History log of /PHP-7.1/sapi/cli/php_cli_server.c (Results 101 – 125 of 231)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 2438490a 14-Aug-2013 Michael Wallner

slim post data


# 9ad97cd4 15-Aug-2013 Christopher Jones

Reduce (some) compile noise of 'unused variable' and 'may be used uninitialized' warnings.


Revision tags: php-5.4.18, php-5.5.2RC1, php-5.4.18RC2, php-5.5.1, php-5.4.18RC1, php-5.3.27, php-5.4.17
# f5c7fe92 20-Jun-2013 Adam Harvey

Fix the spelling of the php_cli_server_http_response_status_code_pair typedef.

Specifically: php_cli_server_http_reponse_status_code_pair →
php_cli_server_http_response_status_code_pair.


Revision tags: php-5.5.0
# 283f56af 19-Jun-2013 Adam Harvey

Change the search in get_status_string() to correctly handle unknown codes.

This previously used a buggy implementation of binary search that would loop
infinitely for unknown codes when

Change the search in get_status_string() to correctly handle unknown codes.

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).

show more ...


Revision tags: php-5.3.27RC1, php-5.4.17RC1, php-5.5.0RC3, php-5.3.26, php-5.4.16, php-5.5.0RC2, php-5.3.26RC1, php-5.4.16RC1, php-5.5.0RC1, php-5.3.25, php-5.4.15, php-5.3.25RC1, php-5.5.0beta4, php-5.4.15RC1, php-5.4.14, php-5.3.24, php-5.5.0beta3, php-5.3.24RC1, php-5.4.14RC1, php-5.5.0beta2
# bb18fa44 24-Mar-2013 Pierre Joye

- add reminder for checking return values


# 3af48968 23-Mar-2013 Pierre Joye

- 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

- 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

Signed-off-by: Anatol Belski <ab@php.net>

show more ...


# e6a9d1ca 23-Mar-2013 Pierre Joye

- 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

- 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

show more ...


Revision tags: php-5.5.0beta1, php-5.3.23, php-5.4.13
# a0a995cf 07-Mar-2013 Keyur Govande

Support for CLI process title (https://wiki.php.net/rfc/cli_process_title)

A new commit into branch 5.5


Revision tags: php-5.5.0alpha6, php-5.3.23RC1, php-5.4.13RC1, php-5.3.22, php-5.5.0alpha5, php-5.4.12, php-5.3.22RC2, php-5.4.12RC2
# 59b01619 08-Feb-2013 Jonh Wendell

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
- 51

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

show more ...


# 0cea9e68 01-Feb-2013 Remi Collet

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"

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.

show more ...


Revision tags: php-5.3.22RC1, php-5.4.12RC1, php-5.5.0alpha4, php-5.3.21, php-5.4.11
# 785e66ad 14-Jan-2013 Lars Strojny

PR #260: Update css for 404 pages to feel more up to date and have a consistent layout across browsers


Revision tags: php-5.5.0alpha3, php-5.3.21RC1, php-5.4.11RC1
# a666285b 01-Jan-2013 Xinchen Hui

Happy New Year


# 0a7395e0 01-Jan-2013 Xinchen Hui

Happy New Year


Revision tags: php-5.3.20, php-5.4.10, php-5.5.0alpha2
# e5b1ebc0 11-Dec-2012 pascalc

update list of common Mime Types in PHP development server to support Web audio/video formats (Webm ,and Ogg containers) + have jpeg mime types listed together


Revision tags: php-5.3.20RC1, php-5.4.10RC1, php-5.3.19, php-5.4.9, php-5.5.0alpha1, php-5.3.19RC1, php-5.4.9RC1, php-5.3.18, php-5.4.8
# ea441bd0 10-Oct-2012 Xinchen Hui

Implemented FR #63242 (Default error page in PHP built-in web server uses outdated html/css)


Revision tags: php-5.3.18RC1, php-5.4.8RC1, php-5.3.17
# 27542db4 12-Sep-2012 Niklas Lindgren

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


Revision tags: php-5.4.7, php-5.4.7RC1, php-5.3.16, php-5.4.6, php-5.4.6RC1
# 0988ae3c 31-Jul-2012 Xinchen Hui

Implemented FR #62700 (have the console output 'Listening on http://localhost:8000')


# a88eca53 22-Jul-2012 Xinchen Hui

Improve error message for ssl request


Revision tags: php-5.4.5
# d12f8d67 14-Jul-2012 Andrew Faulds

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_g

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

show more ...


Revision tags: php-5.3.15, php-5.3.15RC1, php-5.4.5RC1
# 11a202ef 15-Jun-2012 stealth35

Fix potential leak in cli server


Revision tags: php-5.3.14, php-5.4.4, php-5.3.14RC2, php-5.4.4RC2, php-5.3.14RC1, php-5.4.4RC1
# 1e60d0c1 09-May-2012 Xinchen Hui

Implemented FR #61977 (Need CLI web-server support for files with .htm & svg extensions)


# 2cb0ed13 08-May-2012 David Soria Parra

Typo


Revision tags: php-5.3.13, php-5.4.3
# ad3a42c2 06-May-2012 Xinchen Hui

correct variable name


Revision tags: php-5.4.2, php-5.3.12, php-5.3.11, php-5.4.1
# b999e91f 21-Apr-2012 Xinchen Hui

Make css string constant


# cc58373d 20-Apr-2012 Xinchen Hui

Improved performance while sending error page

this also fixed bug #61785 (Memory leak when access a non-exists file without router)


12345678910