]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
quiche: remove 'static' from local buffer
authorDaniel Stenberg <daniel@haxx.se>
Thu, 19 Nov 2020 10:05:02 +0000 (11:05 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 19 Nov 2020 12:34:44 +0000 (13:34 +0100)
For thread-safety

Closes #6223

lib/vquic/quiche.c

index 15e148fdb097c994fd8708282f0a7ab486208083..d4817072cf7cecea253c7417f064c71c4d0481fb 100644 (file)
@@ -384,7 +384,7 @@ static CURLcode flush_egress(struct connectdata *conn, int sockfd,
                              struct quicsocket *qs)
 {
   ssize_t sent;
-  static uint8_t out[1200];
+  uint8_t out[1200];
   int64_t timeout_ns;
 
   do {