Re: [pve-devel] [PATCH http-server v2 3/5] accept-phase: shutdown socket on early error

2020-12-07 Thread Thomas Lamprecht
On 04.12.20 18:56, Stoiko Ivanov wrote: > if an error happens before AnyEvent::Handle registers the cleanup > callback, we should shutdown the socket, when handling it. > > Co-Authored-by: Dominik Csapak > Signed-off-by: Stoiko Ivanov > --- > PVE/APIServer/AnyEvent.pm | 18 -- >

[pve-devel] [PATCH http-server v2 3/5] accept-phase: shutdown socket on early error

2020-12-04 Thread Stoiko Ivanov
if an error happens before AnyEvent::Handle registers the cleanup callback, we should shutdown the socket, when handling it. Co-Authored-by: Dominik Csapak Signed-off-by: Stoiko Ivanov --- PVE/APIServer/AnyEvent.pm | 18 -- 1 file changed, 16 insertions(+), 2 deletions(-) diff