mirror of
https://git.proxmox.com/git/pve-http-server
synced 2025-12-01 03:11:16 +00:00
if an error happens before AnyEvent::Handle registers the cleanup callback, we should shutdown/close the socket, when handling it. Using close, instead of shutdown($sock, SHUT_WR) here, since we are in an error-state, and would not read from the socket anyways. (Additionally close sends just on packet (RST,ACK), vs shutdown (FIN,ACK+RST,ACK) in its use here). Co-Authored-by: Dominik Csapak <d.csapak@proxmox.com> Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com> |
||
|---|---|---|
| debian | ||
| examples | ||
| PVE/APIServer | ||
| .gitignore | ||
| Makefile | ||