]> granicus.if.org Git - curl/commit
http2: relax verification of :authority in push promise requests
authorChristoph M. Becker <cmbecker69@gmx.de>
Mon, 16 Sep 2019 13:32:58 +0000 (15:32 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 16 Sep 2019 21:36:22 +0000 (23:36 +0200)
commit7c596f5dea586c1ba99dfbe7f3ce1996d82f7de0
treebb1d475039a815749d15658658e6448aced2682c
parent9bc44ff64d90812251a1f91020d753f125cd6ab4
http2: relax verification of :authority in push promise requests

If the :authority pseudo header field doesn't contain an explicit port,
we assume it is valid for the default port, instead of rejecting the
request for all ports.

Ref: https://curl.haxx.se/mail/lib-2019-09/0041.html

Closes #4365
lib/http2.c