]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
improve a debug message
authorEric Covener <covener@apache.org>
Wed, 28 Dec 2016 14:40:54 +0000 (14:40 +0000)
committerEric Covener <covener@apache.org>
Wed, 28 Dec 2016 14:40:54 +0000 (14:40 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1776285 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/mod_proxy_wstunnel.c

index 8b6c12c08c7c92a34360d9ccec527ab441402d53..9990fb780f290c79c0fcd8d7ec23a4d4a64a79cb 100644 (file)
@@ -467,7 +467,8 @@ static int proxy_wstunnel_handler(request_rec *r, proxy_worker *worker,
     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;
     }