fix: race in trusttunnel read

This commit is contained in:
wwqgtxx
2026-04-13 23:39:37 +08:00
parent 299fd33795
commit d4b3d236da
-3
View File
@@ -112,9 +112,6 @@ func (h *httpConn) setUp(body io.ReadCloser, err error) {
}
func (h *httpConn) waitCreated() error {
if h.body != nil || h.createErr != nil {
return h.createErr
}
<-h.created
return h.createErr
}