mirror of
https://github.com/curl/curl.git
synced 2026-07-26 11:27:16 +03:00
writeout: -w now supports remote_ip/port and local_ip/port
Added mention to the curl.1 man page. Test case 1223 verifies remote_ip/port.
This commit is contained in:
parent
0b3180b4f5
commit
65e8ba8e1d
4 changed files with 107 additions and 1 deletions
14
docs/curl.1
14
docs/curl.1
|
|
@ -1524,6 +1524,13 @@ same info.
|
|||
The numerical code that was found in the last response (from a proxy) to a
|
||||
curl CONNECT request. (Added in 7.12.4)
|
||||
.TP
|
||||
.B local_ip
|
||||
The IP address of the local end of the most recently done connection - can be
|
||||
either IPv4 or IPv6 (Added in 7.29.0)
|
||||
.TP
|
||||
.B local_port
|
||||
The local port number of the most recently done connection (Added in 7.29.0)
|
||||
.TP
|
||||
.B num_connects
|
||||
Number of new connects made in the recent transfer. (Added in 7.12.3)
|
||||
.TP
|
||||
|
|
@ -1534,6 +1541,13 @@ Number of redirects that were followed in the request. (Added in 7.12.3)
|
|||
When an HTTP request was made without -L to follow redirects, this variable
|
||||
will show the actual URL a redirect \fIwould\fP take you to. (Added in 7.18.2)
|
||||
.TP
|
||||
.B remote_ip
|
||||
The remote IP address of the most recently done connection - can be either
|
||||
IPv4 or IPv6 (Added in 7.29.0)
|
||||
.TP
|
||||
.B remote_port
|
||||
The remote port number of the most recently done connection (Added in 7.29.0)
|
||||
.TP
|
||||
.B size_download
|
||||
The total amount of bytes that were downloaded.
|
||||
.TP
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue