]> Cypherpunks repositories - gostls13.git/commit
http/spdy: redo interfaces, flesh out implementation & frame types
authorWilliam Chan <willchan@chromium.org>
Thu, 26 May 2011 16:54:54 +0000 (09:54 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Thu, 26 May 2011 16:54:54 +0000 (09:54 -0700)
commitabb970ef57f3370f92c5079c073ec8a9414d5b17
treea02c6b6e41349ed7e209d5d08842ec08fb704d89
parent4bb337e5254f6c4d20748759109dade64c26f99a
http/spdy: redo interfaces, flesh out implementation & frame types

Added a new Framer to handle reading/writing Frames. This is necessary since we have to maintain a compression context across streams.

TODO:
* Separate the types and read/write routines into different files.
* Improve error handling.

R=bradfitz, rsc
CC=golang-dev
https://golang.org/cl/4503042
src/pkg/http/spdy/Makefile
src/pkg/http/spdy/framer.go [new file with mode: 0644]
src/pkg/http/spdy/framer_test.go [new file with mode: 0644]
src/pkg/http/spdy/protocol.go
src/pkg/http/spdy/protocol_test.go [deleted file]