Skip to content

Unreliable, potential behavior changes in Node or other dependencies #55

@jesec

Description

@jesec

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:

req.on('end', () => {

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions