History log of /PHP-7.4/sapi/cli/php_cli_server.c (Results 101 – 125 of 257)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 5a06ac88 13-Aug-2014 Dmitry Stogov

cleanup (use zend_string* instead of char*)


# 1684ba3c 12-Jul-2014 Tjerk Meesters

Fix #67594 - invisible colon should be stripped off header name


Revision tags: php-5.4.31RC1, php-5.5.15RC1
# 604de67b 07-Jul-2014 Adam Harvey

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 a

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.

show more ...


Revision tags: php-5.6.0RC2, php-5.4.30, php-5.5.14, php-5.6.0RC1
# fe676748 13-Jun-2014 Adam Harvey

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


Revision tags: php-5.5.14RC1, php-5.4.30RC1
# 8c59ae34 11-Jun-2014 Adam Harvey

Move the mime type map out of php_cli_server.c for easier generation.


# faa34f24 10-Jun-2014 Adam Harvey

Replace the CLI server's linear search for extensions with a hash table.

This doesn't make a statistically significant performance impact either way
today, but gives us more scope to gro

Replace the CLI server's linear search for extensions with a hash table.

This doesn't make a statistically significant performance impact either way
today, but gives us more scope to grow the MIME type list.

show more ...


# 58c6a08e 10-Jun-2014 Remi Collet

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 l

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.

show more ...


Revision tags: php-5.6.0beta4, php-5.4.29, php-5.5.13, php-5.5.13RC1, php-5.6.0beta3, php-5.4.29RC1, php-5.6.0beta2
# 17d027ed 30-Apr-2014 Dmitry Stogov

Split IS_BOOL into IS_FALSE and IS_TRUE


Revision tags: php-5.5.12, php-5.4.28
# 9eb726b3 16-Apr-2014 Anatol Belski

Fixed bug #67079 Missing MIME types for XML/XSL files


Revision tags: php-5.4.28RC1, php-5.5.12RC1
# 050d7e38 15-Apr-2014 Dmitry Stogov

Cleanup (1-st round)


Revision tags: php-5.6.0beta1, php-5.4.27, php-5.5.11, php-5.5.11RC1, php-5.4.27RC1
# 2e3e96b2 18-Mar-2014 Dmitry Stogov

Fixed zend_string*/char* mess


# 232f3e91 14-Mar-2014 Dmitry Stogov

Fixed various CLI problems


Revision tags: php-5.5.10, php-5.4.26, php-5.6.0alpha3, php-5.4.26RC1, php-5.5.10RC1
# 43b03c74 18-Feb-2014 Xinchen Hui

Refacting smart_str


# a52817eb 14-Feb-2014 Dmitry Stogov

Use better data structures (incomplete)


Revision tags: php-5.6.0alpha2, php-5.5.9, php-5.4.25, php-5.5.9RC1, php-5.4.25RC1, php-5.6.0alpha1, php-5.5.8, php-5.4.24
# c081ce62 03-Jan-2014 Xinchen Hui

Bump year


# 47c90277 03-Jan-2014 Xinchen Hui

Bump year


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


1234567891011