Christoph M. Becker
4645a9d10f
Merge branch 'PHP-7.4' into PHP-8.0
...
* PHP-7.4:
Fix #81305 : Built-in Webserver Drops Requests With "Upgrade" Header
2021-07-29 13:28:52 +02:00
Christoph M. Becker
d1ccb5bd0c
Fix #81305 : Built-in Webserver Drops Requests With "Upgrade" Header
...
While our HTTP parser supports upgrade requests, the code using it does
not. Since upgrade requests are only valid for HTTP/1.1 and we neither
support any higher version, nor HTTPS yet, we do not exit early in case
of such requests, i.e. we ignore them, what is allowed by the specs.
We keep the supporting code in case we can meaningfully support upgrade
requests in the future.
Closes GH-7316.
2021-07-29 13:16:15 +02:00
twosee
7d6a0ba808
Fix expression warnings and break warnings
...
Close GH-5675.
2020-06-07 10:41:11 +02:00
George Peter Banyard
56698afb6d
Fix [-Wundef] warning in CLI SAPI
2020-05-12 22:02:12 +02:00
Sammy Kaye Powers
fd0e71d001
Fix bug 60471 by correctly identifying unused speculative preconnections
...
* Correctly identify unused speculative preconnections from browsers
like Chrome and Firefox
* Add a new message to the debug level that is emitted when a TCP
connection is closed without sending any request (a preconnection)
* Fix an issue where the existing debug messages were not being
displayed even when debug mode was enabled
2017-04-11 15:08:05 -07:00
Dmitry Stogov
22ecd4428a
Fixed compilation warnings
2016-06-21 17:56:07 +03:00
Nikita Popov
3240dd93b3
Merge branch 'PHP-5.6' into PHP-7.0
2016-03-03 19:27:35 +01:00
Christoph M. Becker
2d4ad66ff2
Fixed bug #69953
...
Added support for MKCALENDAR request method in CLI web server.
2016-03-03 19:22:38 +01:00
Anton Blanchard
275009d0bd
http parser code assumes char is signed
...
A char can be either signed or unsigned, and on PowerPC and ARM it is
unsigned. The following code will always be false on these architectures:
if (c == -1) goto error;
2015-07-06 10:13:00 +10:00
Christoph M. Becker
a7bbc68bac
Merge branch 'PHP-5.6'
...
* PHP-5.6:
updated NEWS
Fixed #69655 : php -S changes MKCALENDAR request method to MKCOL
2015-06-27 20:05:30 +02:00
Christoph M. Becker
bbe28d3a55
Fixed #69655 : php -S changes MKCALENDAR request method to MKCOL
...
The parsing of the request method in the CLI server has been faulty, so that
several unsupported methods have been recognized as other methods.
2015-06-27 20:02:21 +02:00
Mats Lindh
7a57061a1f
Add comment about SEARCH HTTP Verb being possible as well
2015-05-12 11:24:27 +02:00
Mats Lindh
98d015c5b7
Add "SEARCH" as supported HTTP verb.
...
The "SEARCH" HTTP request method is described in RFC5323 as part of
WebDAV, and allows a client to initiate a server side search.
2015-05-12 11:24:27 +02:00
Veres Lajos
06fdf359e3
typo fixes - https://github.com/vlajos/misspell_fixer
2014-11-23 14:52:47 -08:00
Veres Lajos
4dc994571d
typo fixes - https://github.com/vlajos/misspell_fixer
...
Conflicts:
ext/ftp/ftp.h
ext/pcre/pcrelib/pcre_printint.c
ext/pcre/pcrelib/sljit/sljitLir.c
ext/pcre/pcrelib/sljit/sljitLir.h
ext/pcre/pcrelib/sljit/sljitNativeARM_32.c
ext/pcre/pcrelib/sljit/sljitNativeTILEGX_64.c
ext/pgsql/pgsql.c
ext/phar/func_interceptors.c
ext/soap/soap.c
ext/standard/image.c
2014-11-23 14:33:43 -08:00
Anatol Belski
6075e5a549
fix signed/unsigned mismatch warning
2014-10-10 19:00:18 +02:00
Lars Strojny
aa133ea282
Merged GitHub PR #190 : Support for the HTTP PATCH method in CLI webserver
2012-09-18 22:16:51 +02:00
Niklas Lindgren
27542db4e7
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
2012-09-15 23:11:12 -07:00
Pierre Joye
29cb4d8a09
- undefine CALLBACK (btw, generic names like that should be avoided, w/o prefix :)
2011-08-19 11:35:37 +00:00
Pierre Joye
0fd3f882cd
- do not use 64bit integer instead of size_t (can't be alloc'ed), or when the actual possible values are 32bit or lower only
2011-08-18 09:16:04 +00:00
Moriyoshi Koizumi
5b921a87a1
- Add built-in web server to CLI SAPI. See the RFC for detail.
2011-06-20 20:27:39 +00:00