Commit 32f83d9c authored by Michael Bruning's avatar Michael Bruning Committed by Michael Brüning
Browse files

Reuse or clean up HttpNetworkSession when (re-) setting a cache type.


Not reusing or cleaning up the session led to race conditions which in
turn lead to crashes and asserts.

Reuse the session if parameters match, clean up and it recreate otherwise.

Task-number: QTBUG-49397
Change-Id: I4f846a448b50d80a3cf7c4f9bb833fa6d64974d7
Reviewed-by: default avatarAllan Sandfeld Jensen <allan.jensen@theqtcompany.com>
parent 1847e158
Showing with 81 additions and 24 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment