varnishcache / varnish-cache

Varnish Cache source code repository
https://www.varnish-cache.org
Other
3.56k stars 365 forks source link

Allow VEV_Stop() called from within a VEV callback #4122

Closed daghf closed 2 days ago

daghf commented 3 weeks ago

The routine in VEV looping to report on all of the fd events gets confused if an event is removed while in another callback event.

This will typically cause the mgt event loop to just spin, making the manager unresponsive.

Original patch and commit message by Martin Blix Grydeland.

bsdphk commented 3 days ago

Looks OK to me.