diff options
author | Paul Selkirk <paul@psgd.org> | 2017-03-02 17:34:42 -0500 |
---|---|---|
committer | Paul Selkirk <paul@psgd.org> | 2017-03-02 17:34:42 -0500 |
commit | 7a8a2564c64894026e6e79eb116f5b8b358d622c (patch) | |
tree | 415f2cd70231cea8f312bcce27236c2364f92d0e /spiflash_n25q128.c | |
parent | a6d363b5e32ddf2d8281db52d55d1b63b74c67e9 (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 'spiflash_n25q128.c')
0 files changed, 0 insertions, 0 deletions