curl / Mailing Lists / curl-library / Single Mail

curl-library

getting local port number

From: Anton Kabakov <antonka_at_checkpoint.com>
Date: Wed, 13 Dec 2017 16:13:30 +0000

Hello,
I'm trying to locate in tcpdump a problematic connection issued by libcurl that isn't closed properly, to do so I need the local port used to establish this connection.
I tried to use curl_easy_getinfo CURLINFO_LOCAL_PORT, but it is only updated after curl_easy_perform finishes - In my case it newer does.

Is it possible to add local port data to connection information debug in Curl_verboseconnect?

Thank you
Anton Kabakov

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2017-12-13