diff options
author | Mårten Nordheim <marten.nordheim@qt.io> | 2020-03-13 17:48:16 +0100 |
---|---|---|
committer | Mårten Nordheim <marten.nordheim@qt.io> | 2020-03-16 12:12:29 +0100 |
commit | 3e9014ed6179acd06a11dcd089490a6c16dc07e2 (patch) | |
tree | 2dffd69325c64ea20e243f20506dd4272e4e9b16 /bin | |
parent | 75f52bd0ddc4afbd181c14b310d256e3507052d6 (diff) |
QNetworkReply: stabilize sslSessionSharing test
Sometimes this test would fail due to the session not actually being
reused. The cause of this was that the requests were sometimes being
completed 1-by-1, enabling the individual requests to re-use the
already-connected socket completely because it stayed connected.
Setting the Connection-header to close lets us be sure that
the socket cannot be re-used when the request is finished.
Fixes: QTBUG-82846
Change-Id: I5da8baa50a3a45fb60f1e1613e500e3e9c034fb0
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions