]> git.ipfire.org Git - thirdparty/tornado.git/commit
Set proxy to '' if no proxy is explicitly set in the request.
authorvijayp <vijayp@jumo.com>
Thu, 18 Nov 2010 18:58:44 +0000 (13:58 -0500)
committervijayp <vijayp@jumo.com>
Thu, 18 Nov 2010 18:58:44 +0000 (13:58 -0500)
commit905a215a286041c986005859c378c0445c127cbb
treede62bdbf52ecf405fed00863534b6be927dcc30a
parent160c961fe1dcbf44f574261207af78f382ccddde
Set proxy to '' if no proxy is explicitly set in the request.
If this is not done, curls with proxies set are re-inserted into the empty list, and are then reused. This causes connections to be randomly proxied, if some requests use a proxy, and others don't.
tornado/httpclient.py