Skip to content

Record HTTP send losses in the ureq transport #1153

Closed

Description

@szokeasaurusrex

Update UreqHttpTransport to record losses for HTTP-level send failures after an envelope has left the transport thread. Ureq request errors should be recorded as send_error; HTTP 413 and other non-429 4xx/5xx responses should also be recorded as send_error; 429 should continue to update rate limits without recording a client-report loss for that response.

Scope

  • Ureq request failures record losses for the attempted envelope.
  • 413 responses record send_error losses and keep the existing debug message.
  • Other non-429 4xx/5xx responses record send_error losses.
  • 2xx responses and 429 responses do not record send losses.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Client ReportsFeatureRust

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions