mirror of
https://github.com/zeek/zeek.git
synced 2025-10-05 16:18:19 +00:00
Smarter way to increase the parent/child pipe's socket buffer. (Craig
Leres). This is from #383.
This commit is contained in:
parent
51b3efbb1a
commit
4d12ac861d
2 changed files with 37 additions and 19 deletions
|
@ -297,6 +297,8 @@ protected:
|
|||
bool SendToChild(char type, Peer* peer, int nargs, ...); // can send uints32 only
|
||||
bool SendToChild(ChunkedIO::Chunk* c);
|
||||
|
||||
void SetSocketBufferSize(int fd, int opt, const char *what, int size, int verbose);
|
||||
|
||||
private:
|
||||
enum { TYPE, ARGS } msgstate; // current state of reading comm.
|
||||
Peer* current_peer;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue