Date 2008-09-26.09:58:49
SpamBayes Score 7.40677e-07
Marked as misclassified No
Message-id <>
I updated, python 2.4, to be able to bind to a specific IP
address when connecting to a remote site.

  conn = httplib.HTTPConnection('', 80)

will connect to '' using one of the local IP addresses. For
example, if a machine has an primary IP address and an alias such as


the outbound connection might use either eth0 or eth0:1. I'm not sure
how it picks now. I added a bind option both for http and https so we
can direct the connection through one or the other. For example,

  conn = httplib.HTTPConnection('', 80, None, None, None,

would make sure it used not

I ran into this on a server that is contacted by an external legacy
server which requires a reverse connection over the same IP address that
the original connection came in on.
Date User Action Args
2008-09-26 09:58:52eldonz@atlanticdb.comsetrecipients: +
2008-09-26 09:58:52eldonz@atlanticdb.comsetmessageid: <>
2008-09-26 09:58:50eldonz@atlanticdb.comlinkissue3972 messages
2008-09-26 09:58:49eldonz@atlanticdb.comcreate