Skip to content

Commit

Permalink
QHttpNetworkRequestPrivate: copy and compare local server name
Browse files Browse the repository at this point in the history
Because I forgot in the original commit

Pick-to: 6.8
Fixes: QTBUG-131801
Change-Id: I597673b13e01fdfa22ae178dd1a82671e52794c1
Reviewed-by: Lena Biliaieva <lena.biliaieva@qt.io>
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
Reviewed-by: Mate Barany <mate.barany@qt.io>
  • Loading branch information
Morten242 committed Dec 4, 2024
1 parent 898abae commit fd923ad
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/network/access/qhttpnetworkrequest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ QHttpNetworkRequestPrivate::QHttpNetworkRequestPrivate(const QHttpNetworkRequest
: QHttpNetworkHeaderPrivate(other),
operation(other.operation),
customVerb(other.customVerb),
fullLocalServerName(other.fullLocalServerName),
priority(other.priority),
uploadByteDevice(other.uploadByteDevice),
autoDecompress(other.autoDecompress),
Expand All @@ -46,6 +47,7 @@ bool QHttpNetworkRequestPrivate::operator==(const QHttpNetworkRequestPrivate &ot
{
return QHttpNetworkHeaderPrivate::operator==(other)
&& (operation == other.operation)
&& (fullLocalServerName == other.fullLocalServerName)
&& (priority == other.priority)
&& (uploadByteDevice == other.uploadByteDevice)
&& (autoDecompress == other.autoDecompress)
Expand Down

0 comments on commit fd923ad

Please sign in to comment.