mirror of
https://github.com/curl/curl.git
synced 2026-06-04 01:24:16 +03: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
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue