diff options
| author | shadchin <[email protected]> | 2022-04-09 00:41:32 +0300 |
|---|---|---|
| committer | shadchin <[email protected]> | 2022-04-09 00:41:32 +0300 |
| commit | 3bbb3d7e7e261716b0a83c1a35022e5d36f7875f (patch) | |
| tree | 96955fafe753aad4486b22280aafe9050c508954 /contrib/libs/curl/lib/http.h | |
| parent | beae089571d44f32f0edd323496377d3abe1bce6 (diff) | |
CONTRIB-2513 Update contrib/libs/curl to 7.77.0
ref:88dc545867909534adecc7502c44301cabf1a899
Diffstat (limited to 'contrib/libs/curl/lib/http.h')
| -rw-r--r-- | contrib/libs/curl/lib/http.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/contrib/libs/curl/lib/http.h b/contrib/libs/curl/lib/http.h index 36e2152fe30..2a3834ae11c 100644 --- a/contrib/libs/curl/lib/http.h +++ b/contrib/libs/curl/lib/http.h @@ -184,8 +184,7 @@ struct HTTP { enum { HTTPSEND_NADA, /* init */ HTTPSEND_REQUEST, /* sending a request */ - HTTPSEND_BODY, /* sending body */ - HTTPSEND_LAST /* never use this */ + HTTPSEND_BODY /* sending body */ } sending; #ifndef CURL_DISABLE_HTTP @@ -211,6 +210,7 @@ struct HTTP { char **push_headers; /* allocated array */ size_t push_headers_used; /* number of entries filled in */ size_t push_headers_alloc; /* number of entries allocated */ + uint32_t error; /* HTTP/2 stream error code */ #endif #if defined(USE_NGHTTP2) || defined(USE_NGHTTP3) bool closed; /* TRUE on HTTP2 stream close */ @@ -281,7 +281,6 @@ struct http_conn { /* list of settings that will be sent */ nghttp2_settings_entry local_settings[3]; size_t local_settings_num; - uint32_t error_code; /* HTTP/2 error code */ #else int unused; /* prevent a compiler warning */ #endif |
