Skip to content

Feature: Resumable HTTP reader for resilient connections #74

@JustinLoye

Description

@JustinLoye

Could you consider making the HTTP reader resilient to dropped connections by using Range headers, similar to how wandio handles it?

Currently, long-running or delayed remote reads can trigger server-side timeouts (RIPE RIS drops connections after 10 seconds of inactivity). This can cause silent failures in downstream projects like bgpkit (for example bgpkit/bgpkit-parser#288).

I was able to fix this issue with a few additions on my fork to implement a resumable reader:
main...JustinLoye:feature/resumable-http

This is outside my comfort zone and I used mostly AI to make the POC, so if the feature interest you feel free to ignore or modify the code!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions