[sr-dev] git:andrei/tcp_tls_changes: io_wait: kqueue: use the entire array during too many errors fallback
Andrei Pelinescu-Onciul
andrei at iptel.org
Thu Jul 8 15:26:19 CEST 2010
Module: sip-router
Branch: andrei/tcp_tls_changes
Commit: a9cdfc2938ca73d6ba40f5896c6a8930c2e73f85
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=a9cdfc2938ca73d6ba40f5896c6a8930c2e73f85
Author: Andrei Pelinescu-Onciul <andrei at iptel.org>
Committer: Andrei Pelinescu-Onciul <andrei at iptel.org>
Date: Thu Jul 8 15:18:52 2010 +0200
io_wait: kqueue: use the entire array during too many errors fallback
Minor fix/optimization: if there are too many errors in the
changelist and the kevent() call has to be retried, use the entire
array (don't rely on the current watched fd number which will be
smaller then the array real size, since commit 996826).
(only kqueue using systems are affected by this fix: *bsd and
darwin)
---
io_wait.h | 105 +++++++++++++++++++++++++++++++------------------------------
1 files changed, 53 insertions(+), 52 deletions(-)
Diff: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=a9cdfc2938ca73d6ba40f5896c6a8930c2e73f85
More information about the sr-dev
mailing list