envoyproxy/envoy
Voir sur GitHubProtecting envoy from stacking events on the same fd
Open
#8 924 ouverte le 7 nov. 2019
area/connectionhelp wantedtech debt
Métriques du dépôt
- Stars
- (27 997 stars)
- Métriques de merge PR
- (Merge moyen 8j) (378 PRs mergées en 30 j)
Description
Description: The way envoy FileEventImpl use libevent is tricky. If two FileEventImpl refer to the same fd, eventually the assigned events are stacked and it's probably hard to recover the intention of each other.
https://github.com/envoyproxy/envoy/pull/8922 is the one I encountered but I believe there are more hidden.
We need to figure out
- what is pattern we should follow all over envoy,
- how to detect the violation
- what are the tools to debug when we suspect there is violation