Gary Burd
|
adf16b3178
Add safe maskBytes
|
vor 9 Jahren |
Gary Burd
|
6c51b25bc8
Compression improvements
|
vor 9 Jahren |
Cyrus Katrak
|
2db2f66488
pool flate readers
|
vor 9 Jahren |
Gary Burd
|
0868951cdb
Improve WriteMessage fast path
|
vor 9 Jahren |
Gary Burd
|
9fbf129ff2
Add Conn.[Set]CloseHandler
|
vor 9 Jahren |
Gary Burd
|
80a0029a65
Improve write error handling
|
vor 9 Jahren |
Gary Burd
|
77f110791c
Improve mask performance
|
vor 9 Jahren |
Cyrus Katrak
|
c09b72d2ee
per message compression; only no context modes
|
vor 9 Jahren |
Gary Burd
|
a87eae1d6f
Add hooks to support RFC 7692 (per-message compression extension)
|
vor 9 Jahren |
Gary Burd
|
3ddc984058
Merge pull request #136 from reeze/add-handler-getter
|
vor 9 Jahren |
Reeze Xia
|
c9ce64ea05
Add Ping/Pong handler getter methods
|
vor 9 Jahren |
Gary Burd
|
be01041b66
Reduce memory allocations in NextReader, NextWriter
|
vor 9 Jahren |
Gary Burd
|
50d660d6ac
Revert "Reduce memory allocations in NextReader, NextWriter"
|
vor 9 Jahren |
Gary Burd
|
8b209f6317
Reduce memory allocations in NextReader, NextWriter
|
vor 9 Jahren |
Gary Burd
|
1f512fc3f0
Handle invalid close frames
|
vor 9 Jahren |
Tarmigan Casebolt
|
ae46df13e9
Fix Read() to return errUnexpectedEOF when EOF is received before all bytes in the frame have been read
|
vor 9 Jahren |
Gary Burd
|
0e2713e645
Address common gotchas with package
|
vor 9 Jahren |
Luca Tabone
|
bf696496cb
When sending a Close frame in response, the endpoint typically echos the status code it received.
|
vor 9 Jahren |
Gary Burd
|
234959944d
Add text description to close errors
|
vor 9 Jahren |
Gary Burd
|
615f23bc98
Add IsUnexpectedCloseError
|
vor 10 Jahren |
Gary Burd
|
a2d85bcbfc
Add IsCloseError, improve doc about errors
|
vor 10 Jahren |
Gary Burd
|
f71d4a996f
Return write errors from default pong handler
|
vor 10 Jahren |
Gary Burd
|
39cd638460
Document ping and pong handler argument
|
vor 10 Jahren |
Gary Burd
|
b6ab76f1fe
Provide all close frame data to application
|
vor 10 Jahren |
Jie Li
|
db3e79986d
Fix typo in comment
|
vor 10 Jahren |
Gary Burd
|
ea78a26f80
Don't hide Timeout on errors from underying net conn.
|
vor 11 Jahren |
Gary Burd
|
7d2ea39ebc
Cleanup buffer size calculations.
|
vor 11 Jahren |
Attila Oláh
|
6af932933a
fix typo in conn.go
|
vor 11 Jahren |
Gary Burd
|
47f93dfaed
Improve errors.
|
vor 11 Jahren |
Gary Burd
|
bda3d7d128
Fix mask key.
|
vor 11 Jahren |