Go to file
Stoiko Ivanov ebcaaf4606 accept-phase: shutdown socket on early error
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>
2020-12-10 20:23:38 +01:00
debian bump version to 3.0-6 2020-07-02 09:44:16 +02:00
examples add a more complex demo 2017-01-21 16:08:36 +01:00
PVE/APIServer accept-phase: shutdown socket on early error 2020-12-10 20:23:38 +01:00
.gitignore fixup no newline at end of .gitignore 2018-05-25 16:42:05 +02:00
Makefile re-use Debians jQuery and Bootstrap packages 2019-05-22 08:10:58 +02:00