Skip to content

v0.21.0

Latest

Choose a tag to compare

@keepsimple1 keepsimple1 released this 12 Aug 02:31
· 1 commit to main since this release
5fcb34a

Breaking changes

  • The max outgoing packet size is now 1452 bytes (based on Ethernet MTU), down from 8972 bytes, per RFC 6762 section 17. A record too big for one packet is still sent alone, in a packet of up to the RFC's 9000-byte ceiling, so no record is dropped. Users that need to change the limit can call the new ServiceDaemon::set_max_packet_size().

New features

  • Add ServiceDaemon::set_max_packet_size() to change the max byte size of outgoing packets on the interfaces matching a given IfKind. (#487)
  • Re-export the receiver-side error types RecvError, RecvTimeoutError and TryRecvError from flume, so that a caller can name them without adding flume as a direct dependency. (#488)

Bug fixes / improvements

  • On the receive side, the IPv4 and IPv6 max packet sizes are now tracked separately (8972 and 8952 bytes) so that each stays within the RFC's 9000-byte limit including its own IP header. (#487)

What's Changed

Full Changelog: v0.20.3...v0.21.0