oxy icon indicating copy to clipboard operation
oxy copied to clipboard

Go middlewares for HTTP servers & proxies

Results 34 oxy issues
Sort by recently updated
recently updated
newest added

Hi guys, I found that oxy/buffer can't handle response with chunked encoding and empty body. I can reproduce it by adding the testcase below: ```golang func TestEmptyChunkedResponse(t *testing.T) { srv...

question

This package was updating counters concurrently because of incorrect locking. There's not really a reason to have two separate locks or try to optimize with RW locks. This change replaces...

Load balance can be extend by custom rules.

enhancement

Add new extractor method from request path and combine it with client IP, motivation is to have balancing logic based on request path.

I am working in a new functionality for Sticky session on Traefik and for doing that is necessary to added a functionality of: - RoundRobinPreRequestRewriteListener It basically allow the modification...

Adds a sleep option for buffered retries. Defaults to 0s which preserves backwards compatibility. This is useful for not dropping requests in between deploys that have small downtimes. Signed-off-by: Dustin...

The overall performance of the counter has been improved, there is a little performance regression in a corner case (large bucket with contiguous values) Find attached some benchmark results of...

Is there any example of how we coud use this package to proxy gRPC traffic? I have followed the demo set-up on the README but client connections are always closed...

question

When I use buffer and reverseproxy to handle failover, I found that `buffer` can not handle the case that [reverseproxy.go return 502](https://github.com/golang/go/blob/master/src/net/http/httputil/reverseproxy.go#L199) if client canceled the request (maybe the connection...

question

Do you know why my localhost is returning 404? Here's the code: ```go // broken.go package main import ( "fmt" "html" "net/http" "github.com/vulcand/oxy/forward" "github.com/vulcand/oxy/testutils" "github.com/urfave/negroni" ) func main() { //...

question