Add connect_ports list to config struct instead of keeping extra global var.

Michael
This commit is contained in:
Michael Adam committed 2009-12-07 00:22:52 +01:00
1 parent c981b246ce
commit 4c0a4d985f
5 files changed
+22 -22

No files matched your search

+3 -1
View File
@@ -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 "