aboutsummaryrefslogtreecommitdiff
path: root/projects/cli-test/mgmt-misc.h
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-misc.h
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-misc.h')
0 files changed, 0 insertions, 0 deletions
0' href='#n70'>70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133