mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 17:48:21 +00:00
Fixing bugs in communication.
- The reporter can't be used from the child process. - Don't attempt to send a zero-sized chunk when remote print buffer is empty.
This commit is contained in:
parent
b520f98541
commit
4580bef3e6
4 changed files with 29 additions and 16 deletions
|
@ -120,6 +120,11 @@ public:
|
|||
#endif
|
||||
|
||||
protected:
|
||||
void InternalError(const char* msg)
|
||||
// We can't use the reporter here as we might be running in a
|
||||
// sub-process.
|
||||
{ fprintf(stderr, "%s", msg); abort(); }
|
||||
|
||||
Statistics stats;
|
||||
const char* tag;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue