mirror of
https://github.com/openSUSE/osc.git
synced 2024-12-26 01:46:13 +01:00
- oscssl.myHTTPSHandler.https_open: use selector instead of fullurl
- fixes an issue with lighttpd 1.5
This commit is contained in:
parent
4a8a495849
commit
53361a50f1
@ -197,7 +197,7 @@ class myHTTPSHandler(M2Crypto.m2urllib2.HTTPSHandler):
|
|||||||
# request.
|
# request.
|
||||||
headers["Connection"] = "close"
|
headers["Connection"] = "close"
|
||||||
try:
|
try:
|
||||||
h.request(req.get_method(), req.get_full_url(), req.data, headers)
|
h.request(req.get_method(), req.get_selector(), req.data, headers)
|
||||||
r = h.getresponse()
|
r = h.getresponse()
|
||||||
except socket.error, err: # XXX what error?
|
except socket.error, err: # XXX what error?
|
||||||
err.filename = full_url
|
err.filename = full_url
|
||||||
|
Loading…
Reference in New Issue
Block a user