go.net: gofmt -w -s

R=golang-dev, dave
CC=golang-dev
https://golang.org/cl/6811084
This commit is contained in:
Mikio Hara
2012-11-06 22:00:43 +09:00
parent af425e0a01
commit 811c2f5ee8
3 changed files with 5 additions and 5 deletions

View File

@@ -22,7 +22,7 @@
// important, ipv4.Conn is used to set the type-of-service field on
// the IPv4 header for each packet.
//
// ln, err := net.Listen("tcp4", "0.0.0.0:1024")
// ln, err := net.Listen("tcp4", "0.0.0.0:1024")
// if err != nil {
// // error handling
// }

View File

@@ -355,8 +355,8 @@ type Framer struct {
}
// NewFramer allocates a new Framer for a given SPDY connection, repesented by
// a io.Writer and io.Reader. Note that Framer will read and write individual fields
// from/to the Reader and Writer, so the caller should pass in an appropriately
// a io.Writer and io.Reader. Note that Framer will read and write individual fields
// from/to the Reader and Writer, so the caller should pass in an appropriately
// buffered implementation to optimize performance.
func NewFramer(w io.Writer, r io.Reader) (*Framer, error) {
compressBuf := new(bytes.Buffer)

View File

@@ -535,8 +535,8 @@ func TestHybiClientReadWithMasking(t *testing.T) {
}
// Test the hybiServerHandshaker supports firefox implementation and
// checks Connection request header include (but it's not necessary
// equal to) "upgrade"
// checks Connection request header include (but it's not necessary
// equal to) "upgrade"
func TestHybiServerFirefoxHandshake(t *testing.T) {
config := new(Config)
handshaker := &hybiServerHandshaker{Config: config}