qt6-bb10/tests/auto/network/access/http2
Timur Pocheptsov 1636f3bc92 HTTP/2 - fix handling of GOAWAY frame
- Fix the case when we erroneously handled stream ID == 0 in a GOAWAY frame as
an invalid stream ID.
- _q_receivedReply: convert do{}while() loop into to while(){} to prevent
it from handling any frames after GOAWAY frame received and all active frame
finished.
- sendRequest - if we received GOAWAY, also clear spdyRequests in the connection
channel, otherwise it keeps re-trying to send requests!
- Http network connection channel never resets a protocolHandler in _q_encrypted/
_q_connected, which is BAD for HTTP/2, since HTTP/2 has unique per-connection
compression context and must be reset - now we recreate the protocol handler in
_q_encrypted or _q_connected (https/http).
- Update autotest.

Task-number: QTBUG-57600
Change-Id: Ib864ce52287bab23334ff43a83ba4b0b7cb52c60
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2017-01-11 10:39:43 +00:00
..
certs
http2.pro
http2srv.cpp HTTP/2 - fix handling of GOAWAY frame 2017-01-11 10:39:43 +00:00
http2srv.h HTTP/2 - fix handling of GOAWAY frame 2017-01-11 10:39:43 +00:00
tst_http2.cpp HTTP/2 - fix handling of GOAWAY frame 2017-01-11 10:39:43 +00:00