Lines 77-83
static int proxy_wstunnel_canon(request_rec *r, char *url)
Link Here
|
77 |
if (path == NULL) |
77 |
if (path == NULL) |
78 |
return HTTP_BAD_REQUEST; |
78 |
return HTTP_BAD_REQUEST; |
79 |
|
79 |
|
80 |
apr_snprintf(sport, sizeof(sport), ":%d", port); |
80 |
if (port != def_port) |
|
|
81 |
apr_snprintf(sport, sizeof(sport), ":%d", port); |
82 |
else |
83 |
sport[0] = '\0'; |
81 |
|
84 |
|
82 |
if (ap_strchr_c(host, ':')) { |
85 |
if (ap_strchr_c(host, ':')) { |
83 |
/* if literal IPv6 address */ |
86 |
/* if literal IPv6 address */ |