summaryrefslogtreecommitdiffstats
path: root/src/httpserver/qhttpserverrequest_p.h
diff options
context:
space:
mode:
authorØystein Heskestad <[email protected]>2025-07-04 10:13:27 +0200
committerØystein Heskestad <[email protected]>2025-07-04 12:55:19 +0200
commitdda6bf71245cd075039a9a2714b1940db29a6781 (patch)
tree0c57f163e08e143ba8d465ea3e1719b7ee1271e8 /src/httpserver/qhttpserverrequest_p.h
parent1d2e0c43b40fc55daaf60931e5ba63c823265067 (diff)
Fix HTTP/2 handling leaking device if stream is not found or inactiveHEADdev
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/qhttpserverrequest_p.h')
0 files changed, 0 insertions, 0 deletions