It's probably worth explaining the rationale behind this. I noticed when testing a docker container with wforce that the stats were getting double-counted. I realised that POLLIN can be present just to indicate EOF. Adding an explicit EOF check, and only incrementing stats if !EOF fixes the double-counting issue.
It's probably worth explaining the rationale behind this. I noticed when testing a docker container with wforce that the stats were getting double-counted. I realised that POLLIN can be present just to indicate EOF. Adding an explicit EOF check, and only incrementing stats if !EOF fixes the double-counting issue.