Skip to content

Commit

Permalink
Revert "add http transport timeout"
Browse files Browse the repository at this point in the history
  • Loading branch information
JimhHan authored and JimhHan committed Feb 28, 2021
1 parent 31956b0 commit 9e7b125
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions transport/internet/http/dialer.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import (
"net/http"
"net/url"
"sync"
"time"

"github.com/xtls/xray-core/common"
"github.com/xtls/xray-core/common/buf"
Expand Down Expand Up @@ -79,8 +78,6 @@ func getHTTPClient(ctx context.Context, dest net.Destination, tlsSettings *tls.C
return cn, nil
},
TLSClientConfig: tlsSettings.GetTLSConfig(tls.WithDestination(dest)),
ReadIdleTimeout: time.Second * 5,
PingTimeout: time.Second * 5,
}

client := &http.Client{
Expand Down

0 comments on commit 9e7b125

Please sign in to comment.