Skip to content

Refactor pub http retry behavior #3325

Open
@sigurdm

Description

@sigurdm
  • timeouts on dns lookups (if possible)

  • timeouts on http requests
    => timeout 30 seconds on request-> response headers

  • timeouts on body download

Length limits:

Improved error behavior:

  • Retry after 429 status code.
  • Don't crash on 403: HTTP error 403: Forbidden #3256.
  • Retry failure during response-streaming -> we need a fetch function
  • Improve handling of "secret" error codes
  • On error codes, write the url it came from, and possible (part of) the body

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-enhancementA request for a change that isn't a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions