mirror of
https://github.com/curl/curl.git
synced 2025-01-30 14:22:33 +08:00
urldata: make 'negnpn' use less storage
The connectdata struct field 'negnpn' never holds a value larger than 30, so an unsigned char saves 3 bytes struct space. Closes #9279
This commit is contained in:
parent
a550831023
commit
a29d34b0b7
@ -1119,7 +1119,8 @@ struct connectdata {
|
||||
int localportrange;
|
||||
int cselect_bits; /* bitmask of socket events */
|
||||
int waitfor; /* current READ/WRITE bits to wait for */
|
||||
int negnpn; /* APLN or NPN TLS negotiated protocol, CURL_HTTP_VERSION* */
|
||||
unsigned char negnpn; /* APLN or NPN TLS negotiated protocol,
|
||||
a CURL_HTTP_VERSION* value */
|
||||
|
||||
#if defined(HAVE_GSSAPI) || defined(USE_WINDOWS_SSPI)
|
||||
int socks5_gssapi_enctype;
|
||||
|
Loading…
Reference in New Issue
Block a user