mirror of
https://github.com/curl/curl.git
synced 2026-08-25 07:23:31 +03:00
http: the 'closed' struct field is used by both ngh2 and ngh3
and remove 'header_recvbuf', not used for anything Reported-by: Jeremy Lainé Closes #4257
This commit is contained in:
parent
0a5d28fa2e
commit
65fda739ee
2 changed files with 1 additions and 7 deletions
|
|
@ -176,7 +176,6 @@ struct HTTP {
|
|||
int status_code; /* HTTP status code */
|
||||
const uint8_t *pausedata; /* pointer to data received in on_data_chunk */
|
||||
size_t pauselen; /* the number of bytes left in data */
|
||||
bool closed; /* TRUE on HTTP2 stream close */
|
||||
bool close_handled; /* TRUE if stream closure is handled by libcurl */
|
||||
|
||||
char **push_headers; /* allocated array */
|
||||
|
|
@ -184,6 +183,7 @@ struct HTTP {
|
|||
size_t push_headers_alloc; /* number of entries allocated */
|
||||
#endif
|
||||
#if defined(USE_NGHTTP2) || defined(USE_NGHTTP3)
|
||||
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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue