[master] 46b5fac Duplicate.

Per Buer perbu at varnish-software.com
Thu Mar 6 14:30:13 CET 2014


commit 46b5fac332390aeb410360188757f661d50f4157
Author: Per Buer <perbu at varnish-software.com>
Date:   Thu Mar 6 14:29:53 2014 +0100

    Duplicate.

diff --git a/doc/sphinx/users-guide/websockets.rst b/doc/sphinx/users-guide/websockets.rst
deleted file mode 100644
index 7217b88..0000000
--- a/doc/sphinx/users-guide/websockets.rst
+++ /dev/null
@@ -1,20 +0,0 @@
-
-Implementing websocket support
-------------------------------
-
-Websockets is a technology for creating a bidirectional stream-based channel over HTTP.
-
-To run websockets through Varnish you need to pipe it, and copy the Upgrade header. Use the following
-VCL config to do so::
-
-    sub vcl_pipe {
-         if (req.http.upgrade) {
-             set bereq.http.upgrade = req.http.upgrade;
-         }
-    }
-    sub vcl_recv {
-         if (req.http.Upgrade ~ "(?i)websocket") {
-             return (pipe);
-         }
-    }
-



More information about the varnish-commit mailing list