mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 18:32:23 +00:00
description language change tr => eng
This commit is contained in:
parent
820f0962ca
commit
d246a93e29
1 changed files with 5 additions and 5 deletions
|
|
@ -203,12 +203,12 @@ func DialOptions(ctx context.Context, rawurl string, options ...ClientOption) (*
|
||||||
|
|
||||||
//http1.1 => http2
|
//http1.1 => http2
|
||||||
tr := &http.Transport{
|
tr := &http.Transport{
|
||||||
TLSClientConfig: &tls.Config{InsecureSkipVerify: true}, // İsteğe bağlı, güvenlik önlemleri gerektiğinde uygun şekilde ayarlayın
|
TLSClientConfig: &tls.Config{InsecureSkipVerify: true}, // Optional, adjust security measures when necessary
|
||||||
ForceAttemptHTTP2: true, // !!!note: bu kısmı eklersen HTTP/2'yi etkinleştirirsin eklemezsende default olarak http1.1 çalışır
|
ForceAttemptHTTP2: true, // !!!note: Including this enables HTTP/2, omitting defaults to HTTP/1.1
|
||||||
DialContext: (&net.Dialer{
|
DialContext: (&net.Dialer{
|
||||||
Timeout: 30 * time.Second, // Bağlantı süresi aşılması durumunda zaman aşımı
|
Timeout: 30 * time.Second, // Connection timeout in case of exceeding the time
|
||||||
KeepAlive: 30 * time.Second, // Keep-alive süresi
|
KeepAlive: 30 * time.Second, // Keep-alive time
|
||||||
DualStack: true, // İstemci IPv4/IPv6 desteği
|
DualStack: true, // Client IPv4/IPv6 support
|
||||||
}).DialContext,
|
}).DialContext,
|
||||||
}
|
}
|
||||||
cfg.httpClient = &http.Client{Transport: tr}
|
cfg.httpClient = &http.Client{Transport: tr}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue