History log of /PHP-7.0/sapi/cli/php_cli_server.c (Results 76 – 100 of 216)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# c0d060f5 03-Jan-2014 Xinchen Hui

Bump year


Revision tags: php-5.4.24RC1, php-5.5.8RC1
# ed5a8d51 18-Dec-2013 Kalle Sommer Nielsen

Pass the TSRMLS parameters to the sapi flush hook, this shaves off a few TSRMLS_FETCH() calls in our various SAPIs


# e6b47193 18-Dec-2013 Kalle Sommer Nielsen

Kill yet another TSRMLS_FETCH() inside the CLI HTTP server


Revision tags: php-5.5.7, php-5.4.23, php-5.3.28
# f33265d5 09-Dec-2013 Ard Biesheuvel

cli: don't cast away const in select() timeout argument

The timeout argument to select() is modified to reflect the time
remaining when the function returns on a non-timeout condition.

cli: don't cast away const in select() timeout argument

The timeout argument to select() is modified to reflect the time
remaining when the function returns on a non-timeout condition.
Passing a pointer to const data and casting away the const-ness is
asking for trouble, but for some reason, this trouble manifests
itself only on non-x86 architectures [whose implementation of select()
in glibc is different from the one supplied for x86]

Fix this by passing a stack copy of the timeout argument to select()

show more ...


Revision tags: php-5.5.7RC1, php-5.4.23RC1
# d0cd1127 15-Nov-2013 Christopher Jones

This is CLI web server change. Added some common MIME types to the
existing lookup list, pending a more thorough lookup solution, if
anyone wants to do that. Ref http://news.php.net/php.int

This is CLI web server change. Added some common MIME types to the
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

show more ...


Revision tags: php-5.4.22, php-5.5.6, php-5.4.22RC1, php-5.5.6RC1
# aee271ec 17-Oct-2013 Andrea Faulds

Implemented FR #65917 (getallheaders() is not supported by the built-in...)

- Implemented apache_request_headers() and getallheaders() alias in CLI server
- Implemented apache_response_h

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

show more ...


Revision tags: php-5.4.21, php-5.5.5
# 3aaee86e 05-Oct-2013 Felipe Pena

- Fixed bug #65818 (Segfault with built-in webserver and chunked transfer encoding)


Revision tags: php-5.4.21RC1, php-5.5.5RC1
# dfa43d55 20-Sep-2013 Christopher Jones

Added application/pdf to PHP CLI Web Server mime types.


Revision tags: php-5.5.4, php-5.4.20
# 3c3b2b5b 09-Sep-2013 Adam Harvey

Handle CLI server request headers case insensitively.

Fixes bug #65633 (built-in server treat some http headers as case-sensitive).


Revision tags: php-5.5.4RC1, php-5.4.20RC1, php-5.5.3, php-5.4.19, php-5.5.2
# bb1f9d38 14-Aug-2013 Michael Wallner

slim post data


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


123456789