forked from mirror/websocket
Compare commits
1 Commits
master
...
elithrar/f
Author | SHA1 | Date |
---|---|---|
Matt Silverlock | e365eeef09 |
|
@ -56,9 +56,9 @@ func newTestConn(r io.Reader, w io.Writer, isServer bool) *Conn {
|
||||||
|
|
||||||
func TestFraming(t *testing.T) {
|
func TestFraming(t *testing.T) {
|
||||||
frameSizes := []int{
|
frameSizes := []int{
|
||||||
0, 1, 2, 124, 125, 126, 127, 128, 129, 65534, 65535,
|
0, 1, 2, 124, 125, 126, 127, 128, 129, 65534, 65535, 65536, 65537,
|
||||||
// 65536, 65537
|
|
||||||
}
|
}
|
||||||
|
|
||||||
var readChunkers = []struct {
|
var readChunkers = []struct {
|
||||||
name string
|
name string
|
||||||
f func(io.Reader) io.Reader
|
f func(io.Reader) io.Reader
|
||||||
|
|
Loading…
Reference in New Issue