mirror of
https://github.com/curl/curl.git
synced 2026-08-24 11:03:36 +03:00
connect: store "conn_remote_port" in the info struct
To make it available after the connection ended.
This commit is contained in:
parent
c126299635
commit
08b8ef4e72
2 changed files with 6 additions and 1 deletions
|
|
@ -623,6 +623,7 @@ void Curl_persistconninfo(struct Curl_easy *data, struct connectdata *conn,
|
|||
data->info.conn_scheme = conn->handler->scheme;
|
||||
data->info.conn_protocol = conn->handler->protocol;
|
||||
data->info.conn_primary_port = conn->port;
|
||||
data->info.conn_remote_port = conn->remote_port;
|
||||
data->info.conn_local_port = local_port;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue