Ver código fonte

ngtcp2: Fix missing initialization of nghttp3_nv.flags

Closes https://github.com/curl/curl/pull/9118
Tatsuhiro Tsujikawa 2 anos atrás
pai
commit
7f5a29e689
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      lib/vquic/ngtcp2.c

+ 1 - 0
lib/vquic/ngtcp2.c

@@ -1375,6 +1375,7 @@ static CURLcode http_request(struct Curl_easy *data, const void *mem,
       nva[i].namelen = hreq->header[i].namelen;
       nva[i].value = (unsigned char *)hreq->header[i].value;
       nva[i].valuelen = hreq->header[i].valuelen;
+      nva[i].flags = NGHTTP3_NV_FLAG_NONE;
     }
   }