File tree 4 files changed +0
-5
lines changed 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 }
102
102
103
103
// CloseError represents close frame.
104
104
type CloseError struct {
105
-
106
105
// Code is defined in RFC 6455, section 11.7.
107
106
Code int
108
107
@@ -767,7 +766,6 @@ func (c *Conn) SetWriteDeadline(t time.Time) error {
767
766
// Read methods
768
767
769
768
func (c * Conn ) advanceFrame () (int , error ) {
770
-
771
769
// 1. Skip remainder of previous frame.
772
770
773
771
if c .readRemaining > 0 {
Original file line number Diff line number Diff line change @@ -341,7 +341,6 @@ func TestUnderlyingConn(t *testing.T) {
341
341
}
342
342
343
343
func TestBufioReadBytes (t * testing.T ) {
344
-
345
344
// Test calling bufio.ReadBytes for value longer than read buffer size.
346
345
347
346
m := make ([]byte , 512 )
Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ import "unsafe"
11
11
const wordSize = int (unsafe .Sizeof (uintptr (0 )))
12
12
13
13
func maskBytes (key [4 ]byte , pos int , b []byte ) int {
14
-
15
14
// Mask one byte at a time for small buffers.
16
15
if len (b ) < 2 * wordSize {
17
16
for i := range b {
Original file line number Diff line number Diff line change @@ -180,7 +180,6 @@ headers:
180
180
181
181
// parseExtensiosn parses WebSocket extensions from a header.
182
182
func parseExtensions (header http.Header ) []map [string ]string {
183
-
184
183
// From RFC 6455:
185
184
//
186
185
// Sec-WebSocket-Extensions = extension-list
You can’t perform that action at this time.
0 commit comments