@@ -28,6 +28,7 @@ func Test_listenHTTPUpgradeAndDial(t *testing.T) {
defer c.Close()
var b [1024]byte
+ c.SetReadDeadline(time.Now().Add(2 * time.Second))
_, err := c.Read(b[:])
if err != nil {
return
@@ -87,6 +88,7 @@ func Test_listenHTTPUpgradeAndDialWithHeaders(t *testing.T) {
@@ -33,6 +33,7 @@ func Test_listenSHAndDial(t *testing.T) {
@@ -28,6 +28,7 @@ func Test_listenWSAndDial(t *testing.T) {