Commit Graph
1 Commits
Author SHA1 Message Date
Michał Łyszczek 1bdf23d960 master.js: fix missing response for /api/getID
According to rfc2616#section-6:

> After receiving and interpreting a request message, a server
> responds with an HTTP response message.

That response was missing for /api/getID which could lead to
EMFILE, because needle module was waiting indefiniately for
response from server. Since client sends /api/getID once every 10
seconds, this piles up, ultimately reaching ulimit for opened file
descriptors.

Signed-off-by: Michał Łyszczek <michal.lyszczek@bofc.pl>
2020-08-27 04:05:52 +02:00