diff options
author | Attila Molnar <attilamolnar@hush.com> | 2017-07-11 15:34:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-11 15:34:43 +0200 |
commit | 251cbbed350a4b3396cc069f8a035d0fa17562b3 (patch) | |
tree | 645d98c5eb05ebe8ed4f1aebd9d060d296e41b3b /src/socketengines/socketengine_ports.cpp | |
parent | e97ee390cf1a3f5e897aed85d62e29a34c4632f9 (diff) | |
parent | 8e8b0719bf58e2d875c06698f86377189da87e16 (diff) |
Merge pull request #1310 from rburchell/master
Improve and centralize socket engine event counters.
Diffstat (limited to 'src/socketengines/socketengine_ports.cpp')
-rw-r--r-- | src/socketengines/socketengine_ports.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/socketengines/socketengine_ports.cpp b/src/socketengines/socketengine_ports.cpp index d94d02664..68fa70e3b 100644 --- a/src/socketengines/socketengine_ports.cpp +++ b/src/socketengines/socketengine_ports.cpp @@ -159,14 +159,12 @@ int SocketEngine::DispatchEvents() port_associate(EngineHandle, PORT_SOURCE_FD, fd, mask_to_events(mask), eh); if (portev_events & POLLRDNORM) { - stats.ReadEvents++; eh->OnEventHandlerRead(); if (eh != GetRef(fd)) continue; } if (portev_events & POLLWRNORM) { - stats.WriteEvents++; eh->OnEventHandlerWrite(); } } |