Skip to content

httpc request without timeout #680

@mworrell

Description

@mworrell

In:

https://github.com/driebit/ginger/blob/master/modules/mod_ginger_base/support/ginger_http_client.erl#L57

there is a http:request without any timeouts.

If there is a connect problem then this might hang forever (as the default timeout is infinity).
Best is to set a timeout and connect_timeout

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions