mirror of
https://github.com/curl/curl.git
synced 2026-08-25 17:13:31 +03:00
urldata: cleanups
- sockindex: int -> int8_t - move connectdata members around for fun and profit - remove data->state.current_speed as unused - remove data->state.trailers_bytes_sent as unsed - remove data->state.trailers_buf as unsed The sockindex type change spread a little. Closes #22604
This commit is contained in:
parent
722362d87b
commit
c437d28c76
33 changed files with 228 additions and 237 deletions
|
|
@ -2784,7 +2784,7 @@ struct Curl_cftype Curl_cft_nghttp2 = {
|
|||
static CURLcode http2_cfilter_add(struct Curl_cfilter **pcf,
|
||||
struct Curl_easy *data,
|
||||
struct connectdata *conn,
|
||||
int sockindex,
|
||||
int8_t sockindex,
|
||||
bool via_h1_upgrade)
|
||||
{
|
||||
struct Curl_cfilter *cf = NULL;
|
||||
|
|
@ -2894,7 +2894,7 @@ CURLcode Curl_http2_switch_at(struct Curl_cfilter *cf, struct Curl_easy *data)
|
|||
}
|
||||
|
||||
CURLcode Curl_http2_upgrade(struct Curl_easy *data,
|
||||
struct connectdata *conn, int sockindex,
|
||||
struct connectdata *conn, int8_t sockindex,
|
||||
const char *mem, size_t nread)
|
||||
{
|
||||
struct Curl_cfilter *cf;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue