mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 02:28:21 +00:00
try to make ascii reader a little bit more robust to failure - mainly ignore messages after a reader has disabled itself
This commit is contained in:
parent
d5b413c4e7
commit
531189b5fd
3 changed files with 31 additions and 4 deletions
|
@ -177,7 +177,12 @@ protected:
|
|||
*
|
||||
* A reader implementation must override this method but it can just ignore
|
||||
* calls, if a forced update does not fit the input source or the current input
|
||||
* reading mode
|
||||
* reading mode.
|
||||
*
|
||||
* If it returns false, it will be assumed that a fatal error has occured
|
||||
* that prevents the reader from further operation; it will then be
|
||||
* disabled and eventually deleted. When returning false, an implementation
|
||||
* should also call Error to indicate what happened.
|
||||
*/
|
||||
virtual bool DoUpdate() = 0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue