v1.2.0
版本发布时间: 2017-06-25 01:51:06
gorilla/websocket最新发布版本:v1.5.3(2024-06-14 11:22:21)
v1.2.0 addresses client compression bugs, improves error messages surrounding HTTP Upgrade requests, and improves the safety around how bytes were masked.
CHANGELOG
ea4d1f6 Reduce memory used in chat example a91eba7 Merge pull request #230 from FZambia/fix_client_compression 8dc1cf9 enable client compression based on response header b258b4f Use bufio.Writer returned from hijack in upgrade 4873052 Fix formatting. 286b5c9 Use bufio.Reader returned from hijack in upgrade 3f3e394 Update cloneTLSConfig to use Go 1.8 Config.Clone method 9acaa68 Add Go 1.8 to Travis config 5ade364 Improve examples 804cb60 Prepared Messages (#211) 9bc973a Change text/template to html/template in the examples c36f2fe Merge pull request #210 from nobuf/nobuf/update-doc-about-compression 1025138 Add code snippet for EnableCompression in doc.go, change EnableWriteCompression()'s parameter to false since enableWriteCompression is true by default. 4e4c8d0 Merge pull request #208 from FZambia/flate_write_pool_fix ac61189 remove test as HuffmanOnly compression level not defined in Go < 1.7 eb45753 fix flate write pool size to work with best compression 0674c7c Improve upgrade error messages 2257eda Fix compile error on Go < 1.6 522f286 Fix to compile on Go < 1.6 b0dc455 Change default and add API for compression level bb547c6 Improve SetXHandler documentation 561ac01 Merge pull request #205 from FZambia/compression_benchmarks 34e0535 benchmarks for write with compression enabled/disabled 1763434 Update compression documentation adf16b3 Add safe maskBytes 5ddbd28 Merge branch 'compress' 6c51b25 Compression improvements 404e6b1 Merge pull request #199 from AndrienkoAleksandr/master 0e7877a Fix up README.md for command example. 2db2f66 pool flate readers