Download Latest Version Gnet v2.9.0, Millennium Actress source code.tar.gz (115.4 kB)
Email in envelope

Get an email when there's a new version of gnet

Home / v2.6.0
Name Modified Size InfoDownloads / Week
Parent folder
Gnet v2.6.0, Ghost in the Shell source code.tar.gz 2024-11-09 106.3 kB
Gnet v2.6.0, Ghost in the Shell source code.zip 2024-11-09 193.0 kB
README.md 2024-11-09 4.5 kB
Totals: 3 Items   303.8 kB 0

[!IMPORTANT] As of this release, the minimum required Go version to run gnet is 1.20!

🚀 Features

  • feat: support SO_BINDTODEVICE on Linux (#650)
  • feat: support configurable I/O chunk to drain at a time in edge-triggered mode (#646)

🛩 Enhancements

  • chore: use errors.Is and errors.Join for customized errors (#640)
  • opt: close file descriptor after OnClose() for UDP along with code improvement (#624)
  • opt: close file descriptor after OnClose() (#622)
  • opt: bring down the maxBytesTransferET and defer write in ET mode (#606)
  • opt: clamp the event-loops in ET mode to avaoid starving (#599)
  • opt: reduce duplicate code for I/O reactors (#590)

🐛 Bugfixes

  • bug: fix Conn.Next not safe (#648) (#649)
  • opt: close file descriptor after OnClose() for UDP along with code improvement (#624)
  • opt: close file descriptor after OnClose() (#622)
  • bug: fix the wrong default behavior of TCPNoDelay on client side (#619)
  • bug: fix Conn.Next and Conn.Peek panic On Unix (#616)
  • opt: fix compilation errors on *BSD (#593)

📚 Documentation

  • opt: bump up minimum required Go version to 1.20 (#638)
  • bug: fix the wrong default behavior of TCPNoDelay on client side (#619)

🗃 Misc

  • test: add test for SO_BINDTODEVICE with TCP (#652)
  • chore: use errors.Is and errors.Join for customized errors (#640)
  • test: increase the test code coverage a little bit (#618)
  • chore: upgrade modules and update .gitignore (#613)

Thanks to all these contributors: @panjf2000, @serious-snow and @zhongweikang for making this release possible.

What's Changed

New Contributors

Full Changelog: https://github.com/panjf2000/gnet/compare/v2.5.0...v2.6.0

Source: README.md, updated 2024-11-09