]> git.ipfire.org Git - thirdparty/freeradius-server.git/commit
if we're not using the packet contents, don't call rad_recv()
authorAlan T. DeKok <aland@freeradius.org>
Mon, 19 May 2025 19:26:58 +0000 (14:26 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 19 May 2025 19:28:48 +0000 (14:28 -0500)
commit28a1e473767819ac73b066df303df7fda5382081
tree61e3dad0e8165113d52d3578002e260b9433b499
parent2c7f9e42d0c7d5f21db71d5203a6d983025b7831
if we're not using the packet contents, don't call rad_recv()

which avoids all of the issues with reading partial packets from
a TCP socket.  And then also means that we avoid issues with
reading the TCP listen() socket versus the TCP accept() socket.
src/main/listen.c