]> git.ipfire.org Git - thirdparty/FORT-validator.git/commit
Move PDU parsing to RTR server threads
authorAlberto Leiva Popper <ydahhrk@gmail.com>
Wed, 8 Jul 2026 22:49:04 +0000 (16:49 -0600)
committerAlberto Leiva Popper <ydahhrk@gmail.com>
Wed, 8 Jul 2026 22:49:04 +0000 (16:49 -0600)
commit3ed26fbd8a2ed2a436d5630ee9721f2d70cc4639
treefcfcd0dce430878dce9a36e03544cd9d697ac4fb
parentd0603a70d1b1d9421b2afd7e5f703c8af837d673
Move PDU parsing to RTR server threads

PDU parsing has been done by the poller up to this point.
I probably intended this to encapsulate all the stream operations in
the poller.

During 4e0f81dd5405f8c6c48d2e74c0468d16b44f9a50, the poller's block of
code that contained PDU parsing had to be moved to the mutex time.
This created a substantial incentive to migrate PDU parsing out of the
poller.

So now it's done by the RTR server threads instead.
src/rtr/pdu_stream.c
src/rtr/pdu_stream.h
src/rtr/rtr.c