diff options
author | Øystein Heskestad <[email protected]> | 2025-07-04 10:13:27 +0200 |
---|---|---|
committer | Øystein Heskestad <[email protected]> | 2025-07-04 12:55:19 +0200 |
commit | dda6bf71245cd075039a9a2714b1940db29a6781 (patch) | |
tree | 0c57f163e08e143ba8d465ea3e1719b7ee1271e8 /src/httpserver/qhttpserverresponder.cpp | |
parent | 1d2e0c43b40fc55daaf60931e5ba63c823265067 (diff) |
Move unique_ptr taking ownership of QIODevice earlier in the HTTP/2
handling to prevent it from leaking if the stream is not found or is
inactive (closed or idle).
The write function for devices must always take owvnership the device
and destroy it when it is no longer needed.
Task-number: QTBUG-137330
Pick-to: 6.10 6.9 6.8
Change-Id: I5c7df2dfaca25c382717ec9afe6607f1919475d7
Reviewed-by: Matthias Rauter <[email protected]>
Diffstat (limited to 'src/httpserver/qhttpserverresponder.cpp')
0 files changed, 0 insertions, 0 deletions