Skip to content

Add ReverseProxy equivalence tests for backend failures and streamed responses #45

Description

@Sachinxmpl

Expand the ReverseProxy equivalence test suite to cover scenarios that are currently missing.

The current tests verify common proxy behavior against httputil.ReverseProxy, but they do not yet cover some edge cases.

Test cases

  • Backend connection failures (unreachable backend, refused connection)
  • Large response bodies
  • Streaming/chunked responses
  • Client cancellation during streaming (optional)
  • Slow backend responses (optional)

Deferred from PR #42 to keep the initial equivalence test suite focused.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions