mirror of
https://github.com/webtorrent/bittorrent-tracker.git
synced 2025-01-19 04:31:36 +00:00
server _onUdpRequest(): don't check empty params, errors will be thrown now
This commit is contained in:
parent
7a8f9a779f
commit
217bcf7de5
@ -176,9 +176,6 @@ Server.prototype._onUdpRequest = function (msg, rinfo) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
// Do nothing with invalid request
|
|
||||||
if (!params) return
|
|
||||||
|
|
||||||
// Handle
|
// Handle
|
||||||
this._onRequest(params, function (err, response) {
|
this._onRequest(params, function (err, response) {
|
||||||
if (err) {
|
if (err) {
|
||||||
|
Loading…
Reference in New Issue
Block a user