Commit Diff
- Commit:
f5f71a04830c68cddf72cca7f77c8dec97451abb
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- 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); }