cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker mailing list Archives

[ curl-Bugs-1724679 ] curl cannot bind address when using --local-port

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Thu, 24 May 2007 01:52:53 -0700

Bugs item #1724679, was opened at 2007-05-24 08:52
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1724679&group_id=976

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: http
Group: bad behaviour
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: mytx (mytx)
Assigned to: Daniel Stenberg (bagder)
Summary: curl cannot bind address when using --local-port

Initial Comment:
When using local-port to specify local port, the first connection correctly, but the second connection cannot bind address.
Such as:
$ curl http://httpserver/page --local-port 10000
then get right page, but run it again:
$ curl http://httpserver/page --local-port 10000
output:
curl: (7) bind failure: Address already in use

Using curl version: v7.16.2
OS: linux
kernel: Linux version 2.6.18-gentoo-r2 (****) (gcc version 4.1.1 (Gentoo 4.1.1-r1)) #3 SMP Wed Jan 10 10:23:42 CST 2007

More information:
$ curl -V
curl 7.16.2 (i686-pc-linux-gnu) libcurl/7.16.2 OpenSSL/0.9.8d zlib/1.2.3 libidn/0.6.5
Protocols: tftp ftp telnet dict ldap http file https ftps
Features: IDN Largefile NTLM SSL libz

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1724679&group_id=976
Received on 2007-05-24

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET