From 3cc79570e8f9fcf1cbca704dc99912a509b2a4bb Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Mon, 10 Feb 2014 16:59:28 -0800 Subject: [PATCH] serverinit: TODO stub for websocket support Change-Id: Id195830adcdebb009ac2ed8e94c1a5287798f8fa --- pkg/serverinit/serverconfig.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/serverinit/serverconfig.go b/pkg/serverinit/serverconfig.go index b4fb3aeb2..9402ed5e0 100644 --- a/pkg/serverinit/serverconfig.go +++ b/pkg/serverinit/serverconfig.go @@ -126,6 +126,9 @@ func camliHandlerUsingStorage(req *http.Request, action string, storage blobserv op = auth.OpGet case "stat": handler = handlers.CreateStatHandler(storage) + case "ws": + handler = nil // TODO: handlers.CreateSocketHandler(storage) + op = auth.OpDiscovery // rest of operation auth checks done in handler default: handler = handlers.CreateGetHandler(storage) op = auth.OpGet