summaryrefslogtreecommitdiffstats
path: root/tests/auto/network/kernel/qhostinfo/BLACKLIST
diff options
context:
space:
mode:
authorAlexey Edelev <semlanik@gmail.com>2019-03-28 11:58:04 +0100
committerTimur Pocheptsov <timur.pocheptsov@qt.io>2019-03-29 14:31:31 +0000
commit20b7e18146e28e73cba52a63a3415c6828f1f6f5 (patch)
treecec9ab0c4d61a6c91360cd0a58f16267845e7c28 /tests/auto/network/kernel/qhostinfo/BLACKLIST
parent743e883c12edcc1d5e22a50eea4f7f28fc7b8188 (diff)
Fix a crash in QHttp2ProtocolHandler in h2c-direct mode
After 'h2c' mode was implemented with the proper protocol upgrade, the previously working 'direct connection' mode was lost for clear text connections due to the erroneous logic in the constructor: having !channel->ssl does not necessary mean we started with HTTP/1.1 request, including protocol upgrade header; it can also mean we connected a plain socket and immediately sending h2 frames, without any H2 negotiation at all. Fixes: QTBUG-74765 Change-Id: Ice466d6bffb40048b7ab46fb064f2d3d795a12aa Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io> Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'tests/auto/network/kernel/qhostinfo/BLACKLIST')
0 files changed, 0 insertions, 0 deletions