Skip to content

next "timeout" doesn't work as expected (i guess) #29

@fraxken

Description

@fraxken

Hi,

Recently in one of my project Node-secure i spotted that the part of the code that was responsible to fetch data on the npm registry was not able to properly terminate (some asynchronous function never end).

This code use one of my package that is: https://github.com/SlimIO/Npm-registry. I recently updated this package with the next version of httpie in hope to fix the problem with the new timeout option.

But the problem is still there :\

I made a repository to reproduce the problem without all the noise: https://github.com/fraxken/httpie_timeout_bug

Sometimes it work (i guess it work when npm return 200 for every packages of the list). But sometimes it seem to never end (even with the timeout).

Best Regards,
Thomas

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions