summaryrefslogtreecommitdiff
path: root/src/pkg/websocket
AgeCommit message (Collapse)AuthorFilesLines
2010-03-23websocket: implement new protocolFumitoshi Ukai3-15/+431
http://www.whatwg.org/specs/web-socket-protocol/ (draft of draft-hixie-thewebsocketprotocol-76) draft-hixie-thewebsocketprotocol-76 will introduce new handshake incompatible draft 75 or prior. http://tools.ietf.org/html/draft-hixie-thewebsocketprotocol R=rsc CC=golang-dev http://codereview.appspot.com/583041 Committer: Russ Cox <rsc@golang.org>
2010-03-19websocket: use URL.RawPath to construct WebSocket-Location: headerFumitoshi Ukai2-1/+18
R=rsc CC=golang-dev http://codereview.appspot.com/651041 Committer: Russ Cox <rsc@golang.org>
2010-03-02strings.Bytes -> []byte for documentation example, src/pkg/* comments, and ↵Andrey Mirtchovski1-1/+1
htmlgen.go R=rsc, adg CC=golang-dev http://codereview.appspot.com/224087 Committer: Andrew Gerrand <adg@golang.org>
2010-02-25strings: delete Runes, BytesRuss Cox1-2/+1
gofmt -w -r 'strings.Bytes(a) -> []byte(a)' src/cmd src/pkg test/bench gofmt -w -r 'strings.Runes(a) -> []int(a)' src/cmd src/pkg test/bench delete unused imports R=r CC=golang-dev http://codereview.appspot.com/224062
2010-02-19websocket: fix binary frame size decodingTimo Savola1-3/+2
R=ukai, rsc CC=golang-dev http://codereview.appspot.com/166074 Committer: Russ Cox <rsc@golang.org>
2010-02-18http: avoid server crash on malformed client requestFumitoshi Ukai2-8/+37
R=r, rsc CC=golang-dev http://codereview.appspot.com/206079 Committer: Russ Cox <rsc@golang.org>
2010-01-28Regularize the comments for the websocket package and document all functions ↵Rob Pike3-57/+69
and methods. R=rsc, ukai CC=golang-dev http://codereview.appspot.com/196044
2010-01-18Significant extension to http.Response, which now adheres to thePetar Maymounkov1-1/+1
usage pattern of http.Request and paves the way to persistent connection handling. R=rsc CC=golang-dev http://codereview.appspot.com/185043 Committer: Russ Cox <rsc@golang.org>
2009-12-151) Change default gofmt default settings forRobert Griesemer4-119/+119
parsing and printing to new syntax. Use -oldparser to parse the old syntax, use -oldprinter to print the old syntax. 2) Change default gofmt formatting settings to use tabs for indentation only and to use spaces for alignment. This will make the code alignment insensitive to an editor's tabwidth. Use -spaces=false to use tabs for alignment. 3) Manually changed src/exp/parser/parser_test.go so that it doesn't try to parse the parser's source files using the old syntax (they have new syntax now). 4) gofmt -w src misc test/bench 5th and last set of files. R=rsc CC=golang-dev http://codereview.appspot.com/180050
2009-12-01Explicitly return values where it's shadowing the parameter.Christopher Wedgwood1-8/+8
Bad returns noticed by "Devon H. O'Dell" <devon.odell@gmail.com>. Resolves Issue 360. R=rsc, dho, agl, agl1 CC=ukai http://codereview.appspot.com/163055 Committer: Adam Langley <agl@golang.org>
2009-11-29websocket: avoid $GOROOT in case it has spacesRuss Cox1-2/+2
Fixes issue 115. R=r, ukai, sergio http://codereview.appspot.com/162057
2009-11-29Add WebSocket server framework hooked into http.Fumitoshi Ukai5-0/+417
R=r, rsc http://codereview.appspot.com/156071 Committer: Russ Cox <rsc@golang.org>