← Commit list

5f4f70e06d

Stefan Eissing
Stefan Eissing
2025-09-25
FAILED Duration: 166s

Subject

ngtcp2: fix early return

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/vquic/curl_ngtcp2.c+4 -2
@@ -1303,8 +1303,10 @@ static CURLcode cf_ngtcp2_recv(struct Curl_cfilter *cf, struct Curl_easy *data,
*pnread = 0;
/* handshake verification failed in callback, do not recv anything */
- if(ctx->tls_vrfy_result)
- return ctx->tls_vrfy_result;
+ if(ctx->tls_vrfy_result) {
+ result = ctx->tls_vrfy_result;
+ goto out;
+ }
pktx_init(&pktx, cf, data);