History log of /PHP-8.2/sapi/cli/tests/bug81305.phpt (Results 1 – 1 of 1)
Revision Date Author Comments
# d1ccb5bd 29-Jul-2021 Christoph M. Becker

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 fo

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.

show more ...