Skip to content

11.6.1 hangs when running on node v14.10.0 #1441

@benjamincburns

Description

@benjamincburns

Describe the bug

  • Node.js version: v14.10.0
  • OS & version: all

I use got in a node CLI tool. I accidentally published it with a package-lock.json instead of npm-shrinkwrap.json. Unfortunately this meant that my tool was tracking the latest version of got. When [email protected] was released, my tool started hanging when making HTTP requests when running under node v14.10.0.

I also see that the CI build for got is broken for the v11.6.1 release commit. The failure occurred on the node v14 build, and apparently the build failed due to tests timing out, which suggests that this issue is already reproduced extensively by the existing test suite.

Actual behavior

got hangs indefinitely when executing this statement

Expected behavior

The line lined above would execute as normal.

Code to reproduce

See link above, or, per your CI (also linked above), just run your test suite under node v14.10.0

Checklist

  • I have read the documentation.
  • I have tried my code with the latest version of Node.js and Got.

Metadata

Metadata

Assignees

Labels

bugSomething does not work as it shouldexternalThe issue related to an external project

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions