counting the number of connections?
- From
Tay Ray Chuan <rctay89@gmail.com>
- Date
- Feb 28, 2009, 06:44 UTC
- Message-ID
- <be6fef0d0902272244q468b1fa4sacdc15afa9a65f15@mail.gmail.com>
Hi,
some time ago I noticed curl doesn't remember your credentials (apart from those it can get from ~/.netrc), and very recently there was an thread on repeated prompting for credentials while pushing to https.
I've written a simple patch series, which allows git to play nice without curl_multi. That is, git uses a single persistent connection throughout.
However, I'm at a loss at how to test for this. How does one count the number of connections made during the lifespan of a program's execution? So far, I've been relying on my firewall log (Comodo on windows). Perhaps there a more operating system/software-agnostic method to do this?
-- Cheers, Ray Chuan