Skip to content

Commit

Permalink
websocket: Draft75Handler is obsolete
Browse files Browse the repository at this point in the history
  • Loading branch information
madari committed Aug 27, 2011
1 parent 2241867 commit 335dc83
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions transport_websocket.go
Expand Up @@ -72,12 +72,7 @@ func (s *websocketSocket) accept(w http.ResponseWriter, req *http.Request, proce
}

err = errWebsocketHandshake
if _, ok := req.Header["Sec-Websocket-Key1"]; ok {
websocket.Handler(f).ServeHTTP(w, req)
} else {
websocket.Draft75Handler(f).ServeHTTP(w, req)
}

websocket.Handler(f).ServeHTTP(w, req)
return
}

Expand Down

0 comments on commit 335dc83

Please sign in to comment.