Gnet v1.6.0, Your Lie in April
Pre-release
Pre-release
Tip
Gnet client is now available for production!
Features
- Add a new event handler: AfterWrite() #242
- Implement the gnet client 2295e8c a5ac95a 4db46da 802fa35 7159b95
- Implement writev and readv on BSD-like OS's 60ba6d3
- Implement a mixed buffer of ring-buffer and list-buffer edbdf4b
- Invoke OnClosed() when a UDP socket is closed 7be4b2a
- Implement the gnet.Conn.AsyncWritev() 9a2032f #245
Enhancements
- Prevent the event-list from expanding or shrinking endlessly b220dfd
- Reduce the potential system calls for waking pollers up 9ce41f3
- Eliminate the code for preventing false-sharing 0bfade3
- Support so_reuseaddr (#280)
- Make several improvements for logger 58d2031
- Optimize the buffer management and network I/O 6aba6d7
- Improve the project layout 2e172bd
- Improve the logic of reading data from socket into ring-buffer a7f07b3
- Get as much data read from socket per loop as possible 148ee16
- Improve the network read with ring-buffer and readv 0dcf599
- Avoid memory allocations when calling readv 15611b4
- Refactor the logic of handling UDP sockets d72d3de
- Make the mixed-buffer more flexible 4ac906c
- Improve the management logic of the mixed-buffer b8d571d
Bugfixes
- Resolve the data race of stdConn on Windows (#235)
- Fix the data corruption in some default codecs a56d2f3
- Fix the issue of panic: runtime error: slice bounds out of range 30311e9
Docs
- Update the benchmark data 21f55a6 24e4ce0 1b4ae56 81d9842
- Add the echo benchmarks on macOS f429e7a
- Change the license from MIT to Apache 2.0 a900c8f