Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for withContext (0.15 sec)

  1. internal/handlers/forwarder.go

    	outReq.ProtoMajor = 1
    	outReq.ProtoMinor = 1
    
    	f.rewriter.Rewrite(outReq)
    
    	// Disable closeNotify when method GET for http pipelining
    	if outReq.Method == http.MethodGet {
    		quietReq := outReq.WithContext(context.Background())
    		*outReq = *quietReq
    	}
    }
    
    // headerRewriter is responsible for removing hop-by-hop headers and setting forwarding headers
    type headerRewriter struct{}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 07 05:42:10 GMT 2023
    - 5.6K bytes
    - Viewed (0)
Back to top