mirror of
https://github.com/curl/curl.git
synced 2026-08-25 00:13:34 +03:00
urldata: import port types and conn destination format
Convert more `int port` to `uint16_t` port types. Reshuffle ports in connectdata to save some bytes. Change `conn->destination` format to - make it more readable and thus usable in tracing - add the IPv6 scope_id only when not default (global) and make it resemble more the textual format for IPv6 (e.g. suffix '%<scope_id>') Closes #20918
This commit is contained in:
parent
dfadec7ec3
commit
9325eb5fc4
13 changed files with 54 additions and 66 deletions
|
|
@ -37,7 +37,7 @@ enum Curl_proxy_use {
|
|||
|
||||
void Curl_http_proxy_get_destination(struct Curl_cfilter *cf,
|
||||
const char **phostname,
|
||||
int *pport, bool *pipv6_ip);
|
||||
uint16_t *pport, bool *pipv6_ip);
|
||||
|
||||
CURLcode Curl_http_proxy_create_CONNECT(struct httpreq **preq,
|
||||
struct Curl_cfilter *cf,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue