mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 00:28: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
|
@ -463,6 +463,9 @@ protected:
|
|||
// Check whether everything has been sent out.
|
||||
void CheckFinished();
|
||||
|
||||
// Reports the error and terminates the process.
|
||||
void InternalError(const char* msg);
|
||||
|
||||
// Communication helpers.
|
||||
bool SendToParent(char type, Peer* peer, const char* str, int len = -1);
|
||||
bool SendToParent(char type, Peer* peer, int nargs, ...); // can send uints32 only
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue