php-src/sapi/cli
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
..
tests Fix #81305: Built-in Webserver Drops Requests With "Upgrade" Header 2021-07-29 13:16:15 +02:00
cli.h Remove local variables 2019-02-03 21:03:00 +01:00
cli_win32.c
config.m4 Revert "Link executable files using non PIC object files. This reduces PIC overhead and improves performance." 2019-10-10 16:28:59 +03:00
config.w32 Merge branch 'PHP-7.2' into PHP-7.3 2018-11-16 23:22:19 +01:00
CREDITS
generate_mime_type_map.php Apply tidy formatting 2020-02-03 13:41:31 +01:00
Makefile.frag Sync leading and final newlines in source code files 2018-10-14 12:56:38 +02:00
mime_type_map.h Remove local variables 2019-02-03 21:03:00 +01:00
php.1.in Update year to 2021 2021-02-02 16:46:16 +01:00
php_cli.c Fix #73226: --r[fcez] always return zero exit code 2021-07-12 23:09:28 +02:00
php_cli_process_title.c Remove local variables 2019-02-03 21:03:00 +01:00
php_cli_process_title.h Remove local variables 2019-02-03 21:03:00 +01:00
php_cli_server.c Fix #73630: Built-in Weberver - overwrite $_SERVER['request_uri'] 2021-06-30 16:13:08 +02:00
php_cli_server.h Remove local variables 2019-02-03 21:03:00 +01:00
php_http_parser.c Fix #81305: Built-in Webserver Drops Requests With "Upgrade" Header 2021-07-29 13:16:15 +02:00
php_http_parser.h Fix bug 60471 by correctly identifying unused speculative preconnections 2017-11-14 20:00:45 +01:00
ps_title.c Move includes in ps_title.c 2017-12-16 17:20:05 +01:00
ps_title.h Remove yearly range from copyright notice 2019-01-30 11:03:12 +02:00