0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 09:41:54 +00:00
bird/nest
Maria Matejka 8691151dbd CLI fix for long-lived sessions during high loads
When there is a continuos stream of CLI commands, cli_get_command()
always returns 1 (there is a new command). Anyway, the socket receive
buffer was reset only when there was no command at all, leading to a
strange behavior: after a while, the CLI receive buffer came to its end,
then read() was called with zero size buffer, it returned 0 which was
interpreted as EOF.

Fixing this by:
* resetting the buffer any time CLI RX gets to EOL
* explicitly refusing to pipeline

In future, we may implement CLI pipelining, yet to make it conveniently,
a push-parser may come handy instead of the current implementation.
2022-07-14 12:09:24 +02:00
..
a-path_test.c Filter refactoring: dropped the recursion from the interpreter 2019-02-20 22:30:54 +01:00
a-path.c Nest: Implement BGP path mask loop operator 2020-05-18 16:25:08 +02:00
a-set_test.c Filter refactoring: dropped the recursion from the interpreter 2019-02-20 22:30:54 +01:00
a-set.c Filter: Add operators to find minimum and maximum element of sets 2021-12-28 04:07:09 +01:00
attrs.h Filter: Add operators to find minimum and maximum element of sets 2021-12-28 04:07:09 +01:00
bfd.h BFD: Allow per-request session options 2020-11-08 15:33:22 +01:00
bird.h Initial commit on integrated BIRD 2015-11-05 12:48:52 +01:00
cli.c CLI fix for long-lived sessions during high loads 2022-07-14 12:09:24 +02:00
cli.h CLI fix for long-lived sessions during high loads 2022-07-14 12:09:24 +02:00
cmds.c Memory statistics split into Effective and Overhead 2021-11-27 22:54:15 +01:00
cmds.h Filter refactoring: dropped the recursion from the interpreter 2019-02-20 22:30:54 +01:00
config.Y Nest: Improve GC strategy for rtables 2022-06-04 17:34:57 +02:00
Doc Doc: Rename code documentation files back to Doc 2018-12-14 02:03:42 +01:00
iface.c Nest: Do not ignore secondary flag changes in ifa updates 2021-12-18 01:09:52 +01:00
iface.h Nest: Fix neighbor handling for colliding ranges 2020-05-11 04:29:36 +02:00
locks.c Lib: Add and use ev_new_init() 2018-10-01 15:55:23 +02:00
locks.h Nest: VRF support for neighbor cache and olock code 2017-09-12 15:49:36 +02:00
Makefile Nest: split route show into separate file 2017-05-15 12:10:51 +02:00
neighbor.c Some minor sl_allocz() cleanups 2020-11-24 03:21:44 +01:00
password.c Nest: Allow MAC algorithms to specify min/max key length 2021-06-06 16:28:18 +02:00
password.h Nest: Allow MAC algorithms to specify min/max key length 2021-06-06 16:28:18 +02:00
proto-hooks.c Terminology cleanup: The import_control hook is now called preexport. 2018-12-04 10:53:01 +01:00
proto.c Routing table is now a resource allocated from its own pool 2021-03-30 21:56:08 +02:00
proto.sgml Channels - explicit links between protocols and tables 2016-02-01 10:28:50 +01:00
protocol.h Preexport callback now takes the channel instead of protocol as argument 2022-06-27 19:04:24 +02:00
route.h Preexport callback now takes the channel instead of protocol as argument 2022-06-27 19:04:24 +02:00
rt-attr.c Allocation of ea_list in one contiguous memory block 2021-03-30 21:56:08 +02:00
rt-dev.c Protocol: Introducing an enum protocol_class 2018-05-29 12:35:06 +02:00
rt-dev.h Nest: SADR support for Direct 2018-03-18 02:56:51 +01:00
rt-fib.c Nest: Attach prefix trie to rtable for faster LPM and interval queries 2022-02-06 23:27:13 +01:00
rt-show.c Preexport callback now takes the channel instead of protocol as argument 2022-06-27 19:04:24 +02:00
rt-table.c Preexport callback now takes the channel instead of protocol as argument 2022-06-27 19:04:24 +02:00