From 1fe4271af0465e2429f620b913abe70a402273f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A5rten=20Nordheim?= Date: Tue, 3 Dec 2024 11:52:28 +0100 Subject: [PATCH] QHttpNetworkRequestPrivate: copy and compare local server name Because I forgot in the original commit Fixes: QTBUG-131801 Change-Id: I597673b13e01fdfa22ae178dd1a82671e52794c1 Reviewed-by: Lena Biliaieva Reviewed-by: Marcus Tillmanns Reviewed-by: Mate Barany (cherry picked from commit fd923ad6e900593d56b6b0f84e8e796a9d8e4ed7) Reviewed-by: Qt Cherry-pick Bot --- src/network/access/qhttpnetworkrequest.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/network/access/qhttpnetworkrequest.cpp b/src/network/access/qhttpnetworkrequest.cpp index abbd7730ad6..23a3972638a 100644 --- a/src/network/access/qhttpnetworkrequest.cpp +++ b/src/network/access/qhttpnetworkrequest.cpp @@ -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), @@ -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)