]> git.meshlink.io Git - meshlink/commit
Make AIO more useful for UDP-style channels.
authorGuus Sliepen <guus@meshlink.io>
Fri, 25 Feb 2022 23:52:56 +0000 (00:52 +0100)
committerGuus Sliepen <guus@meshlink.io>
Sat, 26 Feb 2022 00:00:55 +0000 (01:00 +0100)
commite44062ac74fd8255c870cff79e42f880dddff989
treed40e2bca1be5a14b8258a626b4fc94de2ff75cd1
parent1bd5703bb40828fd6a4dc76eeeccd2884de8decb
Make AIO more useful for UDP-style channels.

When doing AIO on a UDP-style channel, only try to send up to one MTU at
a time. Also ensure that the poll callback is triggered every time
something is sent on UDP channels, since the AIO code relies heavily on
the poll callback to work.
src/meshlink.c
src/utcp.c