Skip to content

Enable keep alive in HTTP connections #165

Description

@gcampax

TIL that the default http.Agent used by nodejs does not enable keep-alive, so a new TCP/TLS connection is established for every single outgoing HTTP request. This is very wasteful. We should enable keep alive at least for the requests we make through the Thingpedia Http helpers.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions