ASF Bugzilla – Attachment 36271 Details for
Bug 62932
bug in function proxy_wstunnel_canon preventing functionality of websocket proxy over Unix Domain Sockets
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for modules/proxy/mod_proxy_wstunnel.c
mod_proxy_wstunnel_canon_sport.patch (text/plain), 759 bytes, created by
pavel
on 2018-11-21 11:02:10 UTC
(
hide
)
Description:
patch for modules/proxy/mod_proxy_wstunnel.c
Filename:
MIME Type:
Creator:
pavel
Created:
2018-11-21 11:02:10 UTC
Size:
759 bytes
patch
obsolete
>commit 4fff57f28f4bba8255fe7cc20d72f5a980d9919b >Author: PavelTrushkin <pavel@dcmsys.com> >Date: Tue Nov 20 11:45:05 2018 +0300 > > fix websocket proxy worker naming > >diff --git a/modules/proxy/mod_proxy_wstunnel.c b/modules/proxy/mod_proxy_wstunnel.c >index 9dda010dbc..1056d5cb72 100644 >--- a/modules/proxy/mod_proxy_wstunnel.c >+++ b/modules/proxy/mod_proxy_wstunnel.c >@@ -77,7 +77,10 @@ static int proxy_wstunnel_canon(request_rec *r, char *url) > if (path == NULL) > return HTTP_BAD_REQUEST; > >- apr_snprintf(sport, sizeof(sport), ":%d", port); >+ if (port != def_port) >+ apr_snprintf(sport, sizeof(sport), ":%d", port); >+ else >+ sport[0] = '\0'; > > if (ap_strchr_c(host, ':')) { > /* if literal IPv6 address */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 62932
: 36271