httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cove...@apache.org
Subject svn commit: r1776285 - /httpd/httpd/trunk/modules/proxy/mod_proxy_wstunnel.c
Date Wed, 28 Dec 2016 14:40:55 GMT
Author: covener
Date: Wed Dec 28 14:40:54 2016
New Revision: 1776285

URL: http://svn.apache.org/viewvc?rev=1776285&view=rev
Log:
improve a debug message


Modified:
    httpd/httpd/trunk/modules/proxy/mod_proxy_wstunnel.c

Modified: httpd/httpd/trunk/modules/proxy/mod_proxy_wstunnel.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/mod_proxy_wstunnel.c?rev=1776285&r1=1776284&r2=1776285&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/proxy/mod_proxy_wstunnel.c (original)
+++ httpd/httpd/trunk/modules/proxy/mod_proxy_wstunnel.c Wed Dec 28 14:40:54 2016
@@ -467,7 +467,8 @@ static int proxy_wstunnel_handler(reques
     upgrade = apr_table_get(r->headers_in, "Upgrade");
     if (!upgrade || ap_cstr_casecmp(upgrade, "WebSocket") != 0) {
         ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r, APLOGNO(02900)
-                      "declining URL %s  (not WebSocket)", url);
+                      "declining URL %s  (not WebSocket, Upgrade: header is %s)", 
+                      url, upgrade ? "missing" : upgrade);
         return DECLINED;
     }
 



Mime
View raw message