diff options
author | Lars Schmertmann <Lars.Schmertmann@governikus.de> | 2017-09-14 12:47:11 +0200 |
---|---|---|
committer | Lars Schmertmann <Lars.Schmertmann@governikus.de> | 2021-05-11 09:29:58 +0200 |
commit | a120d11cb5506ef0a5535e790f23d49595fb8857 (patch) | |
tree | 13adada72beded991276482f4ce1a0f4f1a1f499 /src/corelib/io/qfilesystementry.cpp | |
parent | 1a63217021f35d09c92457fcad9d513f8f90bc4d (diff) |
Prefer previously used channels in QHttpNetworkConnection
When IPv4 and IPv6 are supported by a server, QHttpNetworkConnection
will start up two connections and pick the network layer of the one
that finish first. In this case the channel with index 1 is used for
IPv6. When IPv6 wins, there is no channel at index 0. This situation
needs to be respected and we should try to use existing channels first
when there is a next request.
This is especially important when TLS session resumption is used.
Creating a new channel will cause to lose the ephemeralServerKey
used in the first connection.
Fixes: QTBUG-93295
Pick-to: 5.15 6.1
Change-Id: Ic9dc6a24ef793a29c2652ad37bc11120e2e6ceef
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/corelib/io/qfilesystementry.cpp')
0 files changed, 0 insertions, 0 deletions