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 givenIfKind. (#487) - Re-export the receiver-side error types
RecvError,RecvTimeoutErrorandTryRecvErrorfromflume, so that a caller can name them without addingflumeas 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
- feat: limit generated packet size per RFC 6762 section 17 by @keepsimple1 in #487
- feat: re-export Receiver error types (#488) by @keepsimple1 in #489
- refactor: extract the code that does cache flush by @keepsimple1 in #490
- chores: prepare for a new release v0.21.0 by @keepsimple1 in #491
Full Changelog: v0.20.3...v0.21.0