<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/php-git.git/sapi/cli, 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>Add built-in web server to invocation list</title>
<updated>2013-07-15T00:00:56+00:00</updated>
<author>
<name>Lior Kaplan</name>
<email>kaplanlior@gmail.com</email>
</author>
<published>2013-07-06T11:44:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=f4b9b20b354c059d7246a250953e73365558f5e6'/>
<id>f4b9b20b354c059d7246a250953e73365558f5e6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Terminology: change embedded web server to built-in web server to align with cli usage</title>
<updated>2013-07-14T23:42:23+00:00</updated>
<author>
<name>Lior Kaplan</name>
<email>kaplanlior@gmail.com</email>
</author>
<published>2013-07-06T11:30:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=bcef0ebc2d30fb7ac763f2b0354b96852d9c87d6'/>
<id>bcef0ebc2d30fb7ac763f2b0354b96852d9c87d6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Align -B and -E parameter names with cli usage (begin_code and end_code)</title>
<updated>2013-07-14T23:42:09+00:00</updated>
<author>
<name>Lior Kaplan</name>
<email>kaplanlior@gmail.com</email>
</author>
<published>2013-07-06T11:28:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=07501dc1a28d66cb1c2c28cc4c997250e6bb22bc'/>
<id>07501dc1a28d66cb1c2c28cc4c997250e6bb22bc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix typo in php man page</title>
<updated>2013-07-02T10:19:09+00:00</updated>
<author>
<name>Remi Collet</name>
<email>remi@php.net</email>
</author>
<published>2013-07-02T10:19:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=67817a199ca4c8bcff163cb005287c0087db6bf3'/>
<id>67817a199ca4c8bcff163cb005287c0087db6bf3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed Bug #65143 Missing php-cgi man page</title>
<updated>2013-07-02T08:42:47+00:00</updated>
<author>
<name>Remi Collet</name>
<email>remi@php.net</email>
</author>
<published>2013-07-02T08:42:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=c940aab7895fa4cb109e7790ae14080090b04959'/>
<id>c940aab7895fa4cb109e7790ae14080090b04959</id>
<content type='text'>
Currently php-cgi man page is a simple redirect to
php (CLI) man page.

Could be splited / improved in the future.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently php-cgi man page is a simple redirect to
php (CLI) man page.

Could be splited / improved in the future.
</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>
</feed>
