Closed DenisFeedYT closed 7 months ago
Just updated to use the latest dependencies.
very many errors on 12.16
What errors do you mean?
and it would be nice to make a simple boot file
I will think about how to do it. You can add your filters directly to the source code there: https://github.com/Novage/wt-tracker/blob/e21342dcb3505944aa180895bf40d086ce40309d/lib/uws-tracker.ts#L193
Something like:
try {
if (json.info_hash !== "myinfohash") {
throw new Error("bad info hash");
}
} catch (e) {
debugWebSockets("message filtered", e);
ws.close();
return;
}
ok, works w/o errors!
Thanks!
Hello again, could you make a release (and build w/o uWebSockets.js) ? / very many errors on 12.16 and there is no certainty that we our builds is correct /
and it would be nice to make a simple boot file the same as https://github.com/webtorrent/bittorrent-tracker/blob/master/bin/cmd.js with "filter: function (infoHash, params, cb)" for compatibility and quick change ;-)
Thanks!