Commit Diff
- Commit:
b5225f29d85b32692bdfed88b3e93babf8269494
- From:
- Omar Polo <op@omarpolo.com>
- Date:
- Message:
- gotd: disconnect on client EOF too Otherwise gotd keeps the (client-closed) sockets around and may prevent new connections from being established since they still count for the limits. ok jamsek, stsp
- Actions:
- Patch | Tree
--- gotd/gotd.c +++ gotd/gotd.c @@ -649,8 +649,7 @@ gotd_request(int fd, short events, void *arg) } if (err) { - if (err->code != GOT_ERR_EOF) - disconnect_on_error(client, err); + disconnect_on_error(client, err); } else { gotd_imsg_event_add(&client->iev); }