File tree Expand file tree Collapse file tree 4 files changed +0
-5
lines changed Expand file tree Collapse file tree 4 files changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -102,7 +102,6 @@ func (e *netError) Timeout() bool { return e.timeout }
102102
103103// CloseError represents close frame.
104104type CloseError struct {
105-
106105 // Code is defined in RFC 6455, section 11.7.
107106 Code int
108107
@@ -767,7 +766,6 @@ func (c *Conn) SetWriteDeadline(t time.Time) error {
767766// Read methods
768767
769768func (c * Conn ) advanceFrame () (int , error ) {
770-
771769 // 1. Skip remainder of previous frame.
772770
773771 if c .readRemaining > 0 {
Original file line number Diff line number Diff line change @@ -341,7 +341,6 @@ func TestUnderlyingConn(t *testing.T) {
341341}
342342
343343func TestBufioReadBytes (t * testing.T ) {
344-
345344 // Test calling bufio.ReadBytes for value longer than read buffer size.
346345
347346 m := make ([]byte , 512 )
Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ import "unsafe"
1111const wordSize = int (unsafe .Sizeof (uintptr (0 )))
1212
1313func maskBytes (key [4 ]byte , pos int , b []byte ) int {
14-
1514 // Mask one byte at a time for small buffers.
1615 if len (b ) < 2 * wordSize {
1716 for i := range b {
Original file line number Diff line number Diff line change @@ -180,7 +180,6 @@ headers:
180180
181181// parseExtensiosn parses WebSocket extensions from a header.
182182func parseExtensions (header http.Header ) []map [string ]string {
183-
184183 // From RFC 6455:
185184 //
186185 // Sec-WebSocket-Extensions = extension-list
You can’t perform that action at this time.
0 commit comments