← Commit list

feb609f28b

Yedaya Katsman
Yedaya Katsman
2026-06-09
SUCCESS Duration: 272s

Subject

cf-socket: store errno from do_connect in ctx->error

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

lib/cf-socket.c+1 -0
@@ -1319,6 +1319,7 @@ static CURLcode cf_tcp_connect(struct Curl_cfilter *cf,
CURL_TRC_CF(data, cf, "local address %s port %d...",
ctx->ip.local_ip, ctx->ip.local_port);
if(rc == -1) {
+ ctx->error = error;
result = socket_connect_result(data, ctx->ip.remote_ip, error);
goto out;
}