mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 07:38:19 +00:00
BIT-1408: improve I/O loop and Broker IOSource.
This commit is contained in:
parent
a6618eb964
commit
58ea1ff458
4 changed files with 24 additions and 17 deletions
|
@ -118,9 +118,6 @@ IOSource* Manager::FindSoonest(double* ts)
|
|||
|
||||
src->Clear();
|
||||
src->src->GetFds(&src->fd_read, &src->fd_write, &src->fd_except);
|
||||
if ( src->fd_read.Empty() ) src->fd_read.Insert(0);
|
||||
if ( src->fd_write.Empty() ) src->fd_write.Insert(0);
|
||||
if ( src->fd_except.Empty() ) src->fd_except.Insert(0);
|
||||
src->SetFds(&fd_read, &fd_write, &fd_except, &maxx);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue