]> git.ipfire.org Git - thirdparty/freeradius-server.git/commit
add write_blocked flag to packet bio
authorAlan T. DeKok <aland@freeradius.org>
Mon, 13 May 2024 15:27:03 +0000 (11:27 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 14 May 2024 00:34:54 +0000 (20:34 -0400)
commitd50a131097c388ae6f95033a327bbcfaa07cc54d
tree55ef28b27518452336ff485186050954c80e7547
parent73dd8aeface2bad5d933b0bd8845e2400fc5c05d
add write_blocked flag to packet bio

along with a flush API.  So that the individual protocols don't
have to do that.

and have the memory bio return IO_WOULD_BLOCK if it can't flush
the pending data.
src/lib/bio/mem.c
src/lib/bio/packet.h
src/protocols/radius/client.c