aboutsummaryrefslogtreecommitdiff
path: root/projects/cli-test/mgmt-fpga.c
diff options
context:
space:
mode:
authorPaul Selkirk <paul@psgd.org>2017-03-02 17:34:42 -0500
committerPaul Selkirk <paul@psgd.org>2017-03-02 17:34:42 -0500
commit7a8a2564c64894026e6e79eb116f5b8b358d622c (patch)
tree415f2cd70231cea8f312bcce27236c2364f92d0e /projects/cli-test/mgmt-fpga.c
parenta6d363b5e32ddf2d8281db52d55d1b63b74c67e9 (diff)
Try to be a bit more robust in the face of normal errors.
If hal_rpc_server_dispatch() returns an XDR decode error because the request packet was too short, don't call Error_Handler() and kill the dispatch thread, just drop the request. Add more ibuf_queue entries, but don't panic and kill the dispatch thread if we can't get one, just drop the incoming character (which will lead to an XDR decode error if/when we finally get an ibuf).
Diffstat (limited to 'projects/cli-test/mgmt-fpga.c')
0 files changed, 0 insertions, 0 deletions