]> git.ipfire.org Git - thirdparty/tornado.git/commit
curl_httpclient: set CURLOPT_PROXY to NULL if pycurl supports it 2902/head
author依云 <lilydjwg@gmail.com>
Tue, 28 Jul 2020 14:09:45 +0000 (22:09 +0800)
committer依云 <lilydjwg@gmail.com>
Sun, 16 Aug 2020 05:03:32 +0000 (13:03 +0800)
commit4a4cf9ce5867d29b4557a0b28eca7a56e77207de
tree5b202442a96376138d2e3badebaeb02a85610eda
parent617fc965f296228c4ff3109396603a4c06e81df6
curl_httpclient: set CURLOPT_PROXY to NULL if pycurl supports it

This restores curl's default behaviour: use environment variables.

This option was set to "" to disable proxy in
905a215a286041c986005859c378c0445c127cbb but curl uses environment
variables by default.
tornado/curl_httpclient.py