summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorTimur Pocheptsov <timur.pocheptsov@qt.io>2017-11-24 10:31:34 +0100
committerTimur Pocheptsov <timur.pocheptsov@qt.io>2017-11-24 18:09:47 +0000
commit655cbb00a0a50588dcf527d2e7fdfeb172ba60ae (patch)
tree21318035ced49acebf1dbd75eae905cbc8ad9a4c /tests
parent5a235da270a4ea65b7ef1edf31a761c41dbfcc88 (diff)
Handle HostNotFoundError correctly for HTTP/2
When processing host lookup error if-statement only checks the connection type SPDY, which is not right - it could also be HTTP/2. As a bonus: QT_NO_SSL conditional inclusion is not needed - HTTP2 can be 'clear text' and SPDY enumerator is defined even in no-tls build (and is just a noop here). Also, improve our somewhat cryptic message in 'Should not happen' else branch - 'cannot dequeu' says nothing about HostNotFoundError. Task-number: QTBUG-64721 Change-Id: Ib0346b8717c2dbddaffab690298f3cae01e338ea Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions