summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/reqs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reqs.c b/src/reqs.c
index 4f37124..d872294 100644
--- a/src/reqs.c
+++ b/src/reqs.c
@@ -424,7 +424,7 @@ BAD_REQUEST_ERROR:
goto fail;
}
} else if (strcmp (request->method, "CONNECT") == 0) {
- if (extract_ssl_url (url, request) < 0) {
+ if (extract_url (url, HTTP_PORT_SSL, request) < 0) {
indicate_http_error (connptr, 400, "Bad Request",
"detail", "Could not parse URL",
"url", url, NULL);