diff options
author | Stefan Eissing <stefan@eissing.org> | 2023-01-09 09:23:03 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2023-01-09 11:09:34 +0100 |
commit | 0ef29268819b7a6d7c72d8f19bc6ad9e91d9b191 (patch) | |
tree | 48468c4b35eae49e7a51b613ffa93f99830080fb /lib/http.h | |
parent | 0978b2ef251891acecd636d7b355fefacc0e30fa (diff) | |
download | curl-0ef29268819b7a6d7c72d8f19bc6ad9e91d9b191.tar.gz |
quiche: fix build without any HTTP/2 implementation
Fixes #10260
Closes #10263
Diffstat (limited to 'lib/http.h')
-rw-r--r-- | lib/http.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/http.h b/lib/http.h index 99ec7169e..9da4694fa 100644 --- a/lib/http.h +++ b/lib/http.h @@ -239,7 +239,6 @@ struct HTTP { #if defined(USE_NGHTTP2) || defined(USE_NGHTTP3) bool bodystarted; int status_code; /* HTTP status code */ - bool closed; /* TRUE on HTTP2 stream close */ char *mem; /* points to a buffer in memory to store received data */ size_t len; /* size of the buffer 'mem' points to */ size_t memlen; /* size of data copied to mem */ @@ -249,6 +248,7 @@ struct HTTP { const uint8_t *upload_mem; /* points to a buffer to read from */ size_t upload_len; /* size of the buffer 'upload_mem' points to */ curl_off_t upload_left; /* number of bytes left to upload */ + bool closed; /* TRUE on HTTP2 stream close */ #endif #ifdef ENABLE_QUIC |