diff options
author | Mårten Nordheim <marten.nordheim@qt.io> | 2022-04-19 16:30:14 +0200 |
---|---|---|
committer | Mårten Nordheim <marten.nordheim@qt.io> | 2022-04-21 23:13:24 +0200 |
commit | e2a13299101d27800d3d1d88b91635e66d52d5c0 (patch) | |
tree | 3e8784dd7330a7f13ae6283d4ccee2f6e89af287 /src/network/socket/qlocalsocket_unix.cpp | |
parent | 3962a194d954aa57a0815d7e7b0976b1de4c9cdc (diff) | |
download | qtbase-e2a13299101d27800d3d1d88b91635e66d52d5c0.tar.gz |
QHttp: Don't reorder content-length header for no reason
If the user supplied a content-length, and we also know the size of the payload
then we would set the content-length again, which is a remove + add on a QList.
This is completely avoidable if we are setting the same size anyway.
Fixes: QTBUG-102495
Change-Id: If62739cadb453dbda4c21e858ba3a17baaf71fb4
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/network/socket/qlocalsocket_unix.cpp')
0 files changed, 0 insertions, 0 deletions