gnq619037
gnq619037
> please describe the issue in English when websocket conn UpgradeTransport is not nil, ws-server while receive two conn, first conn in h.UpgradeTransport.WrapRequest(req), and the second conn in dial(updatedReq, h.UpgradeTransport)。...
> @gnq619037 means you guys want that this should return only one either `updatedReq` or `h.UpgradeTransport` ? I don't know what the UpgradeTransport does, but I see that this is...
> @gnq619037 means you guys want that this should return only one either `updatedReq` or `h.UpgradeTransport` ?  look, ws-server receive two conn
> @abhiii71 I don't know what the UpgradeTransport does, but I see that this is required to upgrade http to ws in the code? After setting, the logic of WrapRequest()...
@xyz-li  set UpgradeTransport not nil, then send ws requeset
k8s.io upgradeaware.go ,in func (h *UpgradeAwareHandler) DialForUpgrade(req *http.Request) (net.Conn, error) , WrapRequest has to do getConn, dial(updatedReq, h.UpgradeTransport) to conn again?
@seans3 k8s.io/api v0.19.3 k8s.io/apiextensions-apiserver v0.19.3 k8s.io/apimachinery v0.19.3 k8s.io/apiserver v0.19.3