gnq619037

Results 7 comments of 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` ? ![微信截图_20240911133307](https://github.com/user-attachments/assets/1cf9cbf8-02df-43e8-8bf6-2b81dfec56f1) 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 ![微信截图_20240911152553](https://github.com/user-attachments/assets/4e4f6b74-409e-48b3-9e39-efd30da45d1a) 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