]> git.ipfire.org Git - thirdparty/tornado.git/commit
Delay check for socket.family (and make it jython-friendly).
authorBen Darnell <ben@bendarnell.com>
Sat, 26 May 2012 18:35:42 +0000 (11:35 -0700)
committerBen Darnell <ben@bendarnell.com>
Sat, 26 May 2012 18:35:42 +0000 (11:35 -0700)
commite5d5d3241f81fa7ad5052079ba9cf6b2daf7c25b
tree4e4ab6087ff90f0dc7719747d73e49f84020d97a
parent7d4623bcca2e44f1bf9c34638a5d924e358eeb3a
Delay check for socket.family (and make it jython-friendly).

Now HTTPConnection.address will always be the socket address,
and the fake "0.0.0.0" IP is only used in contexts that want an IP
(i.e. HTTPRequest.remote_ip) but the connection is a non-IP socket.
tornado/httpserver.py