Environment:
Ubuntu 20.04.1 LTS
Node v15.0.1
feedsub 0.7.2
I found the feedsub becomes unreliable recently.
Specifically, success() is never called:
|
const success = (abort) => { |
I found the issue is related to:
AFAIK, it should be either req.on('close') or res.on('end'). req.on('end') is probably not the right one.
This patch seems to fix the problem:
- req.on('end', () => {
+ req.on('close', () => {
I guess there are behavior changes in Node or other dependencies.