Skip to content

Http effect: no request timeout control #353

Description

@aallan

The Http effect (#57) uses system-default timeouts for network requests. There is no way to set a per-request timeout from Vera code. Long-running or hung requests block WASM execution indefinitely.

Impact

Programs making HTTP requests to slow or unresponsive servers will hang without recourse.

Possible fix

The future <Timeout> effect (#227) would compose naturally with Http:

effects(<Http, Timeout>)

Alternatively, add a timeout parameter to the operations or an environment-level default.

Related: #57 (Http effect), #227 (timeout/cancellation effects)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestlimitationKnown compilation limitationstdlibBuilt-in function and effect library surface

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions