Initiating http 1.1 and 2.0 transfers, PRI magic seen as http method
Date: Sat, 30 May 2020 00:58:47 +0530
Hello All,
I'm trying to initiate http 1.1 and 2.0 transfers in mixed order to
same destination host.
Following is the diff on http2-download.c from examples on latest git
master used to reproduce this issue:
https://gist.github.com/kunalekawde/8a1ff6ecb1518f50b9834ebe03eef8c2
The server is common for both 1.1 and 2.0 with single port exposed. It
differentiates 1.1 to 2.0 using Magic frame.
The observation is that client is sending 2.0 payload on the 1.1
connection due to which server picks Magic as 1.1 message and decodes
PRI as method. This can be observed by using above example and
following tcp stream on captured pcap. Ofcourse, server needs to
handle this gracefully, but should this be seen as issue from client
to not distinguish 1.1 to 2.0 connection ?
Thanks,
~Kunal
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2020-05-29