<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/php-git.git/sapi/cli/php_cli_server.c, branch php-5.4.23</title>
<subtitle>git.php.net: repository/php-src.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/'/>
<entry>
<title>- Fixed bug #65818 (Segfault with built-in webserver and chunked transfer encoding)</title>
<updated>2013-10-05T15:52:55+00:00</updated>
<author>
<name>Felipe Pena</name>
<email>felipensp@gmail.com</email>
</author>
<published>2013-10-05T15:52:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=3aaee86ee33af276d2e879f5a645cc6dc850de22'/>
<id>3aaee86ee33af276d2e879f5a645cc6dc850de22</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Handle CLI server request headers case insensitively.</title>
<updated>2013-09-09T23:24:49+00:00</updated>
<author>
<name>Adam Harvey</name>
<email>aharvey@php.net</email>
</author>
<published>2013-09-09T23:24:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=3c3b2b5bdc8e2bcff4d0e7d09375ad7af760b32a'/>
<id>3c3b2b5bdc8e2bcff4d0e7d09375ad7af760b32a</id>
<content type='text'>
Fixes bug #65633 (built-in server treat some http headers as case-sensitive).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes bug #65633 (built-in server treat some http headers as case-sensitive).
</pre>
</div>
</content>
</entry>
<entry>
<title>Reduce (some) compile noise of 'unused variable' and 'may be used uninitialized' warnings.</title>
<updated>2013-08-15T03:36:50+00:00</updated>
<author>
<name>Christopher Jones</name>
<email>sixd@php.net</email>
</author>
<published>2013-08-15T03:36:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=9ad97cd48903ea5454853960f2c14de326e0f624'/>
<id>9ad97cd48903ea5454853960f2c14de326e0f624</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix the spelling of the php_cli_server_http_response_status_code_pair typedef.</title>
<updated>2013-06-20T16:34:21+00:00</updated>
<author>
<name>Adam Harvey</name>
<email>aharvey@php.net</email>
</author>
<published>2013-06-20T16:34:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=f5c7fe92020fd7b8e81c94658da4813a7e6dea17'/>
<id>f5c7fe92020fd7b8e81c94658da4813a7e6dea17</id>
<content type='text'>
Specifically: php_cli_server_http_reponse_status_code_pair →
php_cli_server_http_response_status_code_pair.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Specifically: php_cli_server_http_reponse_status_code_pair →
php_cli_server_http_response_status_code_pair.
</pre>
</div>
</content>
</entry>
<entry>
<title>Change the search in get_status_string() to correctly handle unknown codes.</title>
<updated>2013-06-20T16:31:57+00:00</updated>
<author>
<name>Adam Harvey</name>
<email>aharvey@php.net</email>
</author>
<published>2013-06-19T18:32:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=283f56af6696f57400bdbf8ce29ee66e64249c0d'/>
<id>283f56af6696f57400bdbf8ce29ee66e64249c0d</id>
<content type='text'>
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).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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).
</pre>
</div>
</content>
</entry>
<entry>
<title>- add reminder for checking return values</title>
<updated>2013-03-24T12:27:00+00:00</updated>
<author>
<name>Pierre Joye</name>
<email>pierre.php@gmail.com</email>
</author>
<published>2013-03-24T12:27:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=bb18fa448c104c10d0899090bf64ca66e36e492e'/>
<id>bb18fa448c104c10d0899090bf64ca66e36e492e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>- 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</title>
<updated>2013-03-23T21:42:03+00:00</updated>
<author>
<name>Pierre Joye</name>
<email>pierre.php@gmail.com</email>
</author>
<published>2013-03-23T09:18:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=3af489683753ab31d7397812989e82f6a424d244'/>
<id>3af489683753ab31d7397812989e82f6a424d244</id>
<content type='text'>
Signed-off-by: Anatol Belski &lt;ab@php.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Anatol Belski &lt;ab@php.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Added HTTP codes as of RFC 6585</title>
<updated>2013-02-17T09:18:40+00:00</updated>
<author>
<name>Jonh Wendell</name>
<email>jonh.wendell@oiwifi.com.br</email>
</author>
<published>2013-02-08T16:09:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=59b016192dd52f40591ad969e1ce7c1bfcb947a3'/>
<id>59b016192dd52f40591ad969e1ce7c1bfcb947a3</id>
<content type='text'>
Added descriptions for the new HTTP codes:

- 428 Precondition Required
- 429 Too Many Requests
- 431 Request Header Fields Too Large
- 511 Network Authentication Required
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Added descriptions for the new HTTP codes:

- 428 Precondition Required
- 429 Too Many Requests
- 431 Request Header Fields Too Large
- 511 Network Authentication Required
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed bug #64128 buit-in web server is broken on ppc64.</title>
<updated>2013-02-01T18:23:25+00:00</updated>
<author>
<name>Remi Collet</name>
<email>remi@php.net</email>
</author>
<published>2013-02-01T18:23:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=0cea9e6843384c6c0ebb52047c42b0431a4f5660'/>
<id>0cea9e6843384c6c0ebb52047c42b0431a4f5660</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>Happy New Year</title>
<updated>2013-01-01T08:28:54+00:00</updated>
<author>
<name>Xinchen Hui</name>
<email>laruence@php.net</email>
</author>
<published>2013-01-01T08:28:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=0a7395e009b2df94c2a3f05aef69fb1779edf8f8'/>
<id>0a7395e009b2df94c2a3f05aef69fb1779edf8f8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
