summaryrefslogtreecommitdiff
path: root/src/reqs.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/reqs.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/reqs.c b/src/reqs.c
index c92920f..83873df 100644
--- a/src/reqs.c
+++ b/src/reqs.c
@@ -419,7 +419,9 @@ BAD_REQUEST_ERROR:
}
/* Verify that the port in the CONNECT method is allowed */
- if (!check_allowed_connect_ports (request->port)) {
+ if (!check_allowed_connect_ports (request->port,
+ config.connect_ports))
+ {
indicate_http_error (connptr, 403, "Access violation",
"detail",
"The CONNECT method not allowed "