mirror of
https://github.com/webtorrent/bittorrent-tracker.git
synced 2025-01-18 04:01:35 +00:00
Revert "Bugfix - when using AbortController, errors on resulting stream must …"
This reverts commit e45516d73a
.
This commit is contained in:
parent
e45516d73a
commit
35e7830910
@ -150,7 +150,6 @@ class HTTPTracker extends Tracker {
|
||||
'user-agent': this.client._userAgent || ''
|
||||
}
|
||||
})
|
||||
if (res.body.on) res.body.on('error', cb)
|
||||
} catch (err) {
|
||||
if (err) return cb(err)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user