Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2022-10-12 18:23:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new.2275 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "curl" Wed Oct 12 18:23:28 2022 rev:178 rq:1009293 version:7.85.0 Changes: -------- --- /work/SRC/openSUSE:Factory/curl/curl.changes 2022-09-01 22:10:22.672114003 +0200 +++ /work/SRC/openSUSE:Factory/.curl.new.2275/curl.changes 2022-10-12 18:24:23.677619970 +0200 @@ -1,0 +2,6 @@ +Sat Oct 8 17:06:50 UTC 2022 - Vasily Ulyanov <vasily.ulya...@suse.com> + +- Update connection info when using UNIX socket as endpoint + connect-fix-Curl_updateconninfo-for-TRNSPRT_UNIX.patch + +------------------------------------------------------------------- New: ---- connect-fix-Curl_updateconninfo-for-TRNSPRT_UNIX.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ curl.spec ++++++ --- /var/tmp/diff_new_pack.10T3Lj/_old 2022-10-12 18:24:24.921623078 +0200 +++ /var/tmp/diff_new_pack.10T3Lj/_new 2022-10-12 18:24:24.929623098 +0200 @@ -35,6 +35,7 @@ Patch2: curl-secure-getenv.patch #PATCH-FIX-OPENSUSE bsc#1076446 protocol redirection not supported or disabled Patch3: curl-disabled-redirect-protocol-message.patch +Patch4: connect-fix-Curl_updateconninfo-for-TRNSPRT_UNIX.patch BuildRequires: libtool BuildRequires: pkgconfig Requires: libcurl4 = %{version} ++++++ connect-fix-Curl_updateconninfo-for-TRNSPRT_UNIX.patch ++++++ >From 4232e1ac84ff4c2f46807b68a93efdbb31ff22a2 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg <dan...@haxx.se> Date: Fri, 7 Oct 2022 18:10:05 +0200 Subject: [PATCH] connect: fix Curl_updateconninfo for TRNSPRT_UNIX Reported-by: Vasiliy Ulyanov Fixes #9664 Closes #9670 --- lib/connect.c | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/lib/connect.c b/lib/connect.c index c1d8cfd39..9dc14704d 100644 --- a/lib/connect.c +++ b/lib/connect.c @@ -762,18 +762,10 @@ void Curl_updateconninfo(struct Curl_easy *data, struct connectdata *conn, char local_ip[MAX_IPADR_LEN] = ""; int local_port = -1; - if(conn->transport == TRNSPRT_TCP) { - if(!conn->bits.reuse && !conn->bits.tcp_fastopen) - Curl_conninfo_remote(data, conn, sockfd); - Curl_conninfo_local(data, sockfd, local_ip, &local_port); - } /* end of TCP-only section */ -#ifdef ENABLE_QUIC - else if(conn->transport == TRNSPRT_QUIC) { - if(!conn->bits.reuse) - Curl_conninfo_remote(data, conn, sockfd); - Curl_conninfo_local(data, sockfd, local_ip, &local_port); - } -#endif + if(!conn->bits.reuse && + (conn->transport != TRNSPRT_TCP || !conn->bits.tcp_fastopen)) + Curl_conninfo_remote(data, conn, sockfd); + Curl_conninfo_local(data, sockfd, local_ip, &local_port); /* persist connection info in session handle */ Curl_persistconninfo(data, conn, local_ip, local_port); -- 2.37.3