(w http.ResponseWriter, req *http.Request, err error)
| 144 | type responder struct{} |
| 145 | |
| 146 | func (r *responder) Error(w http.ResponseWriter, req *http.Request, err error) { |
| 147 | klog.Errorf("Error while proxying request: %v", err) |
| 148 | http.Error(w, err.Error(), http.StatusInternalServerError) |
| 149 | } |
| 150 | |
| 151 | // makeUpgradeTransport creates a transport that explicitly bypasses HTTP2 support |
| 152 | // for proxy connections that must upgrade. |
no outgoing calls