Revision 7b70d7a8 lib/http/client.py
b/lib/http/client.py | ||
---|---|---|
148 | 148 |
curl.setopt(pycurl.USERAGENT, http.HTTP_GANETI_VERSION) |
149 | 149 |
curl.setopt(pycurl.PROXY, "") |
150 | 150 |
|
151 |
# Disable SSL session ID caching (pycurl >= 7.16.0) |
|
152 |
if hasattr(pycurl, "SSL_SESSIONID_CACHE"): |
|
153 |
curl.setopt(pycurl.SSL_SESSIONID_CACHE, False) |
|
154 |
|
|
151 | 155 |
# Pass cURL object to external config function |
152 | 156 |
if curl_config_fn: |
153 | 157 |
curl_config_fn(curl) |
Also available in: Unified diff