From d246a93e29f4065b75fab24b2cf6f8debe4319c3 Mon Sep 17 00:00:00 2001 From: tgmtime Date: Tue, 14 May 2024 13:08:07 +0300 Subject: [PATCH] description language change tr => eng --- rpc/client.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/rpc/client.go b/rpc/client.go index 28384b6cd7..842944afb6 100644 --- a/rpc/client.go +++ b/rpc/client.go @@ -203,12 +203,12 @@ func DialOptions(ctx context.Context, rawurl string, options ...ClientOption) (* //http1.1 => http2 tr := &http.Transport{ - TLSClientConfig: &tls.Config{InsecureSkipVerify: true}, // İsteğe bağlı, güvenlik önlemleri gerektiğinde uygun şekilde ayarlayın - ForceAttemptHTTP2: true, // !!!note: bu kısmı eklersen HTTP/2'yi etkinleştirirsin eklemezsende default olarak http1.1 çalışır + TLSClientConfig: &tls.Config{InsecureSkipVerify: true}, // Optional, adjust security measures when necessary + ForceAttemptHTTP2: true, // !!!note: Including this enables HTTP/2, omitting defaults to HTTP/1.1 DialContext: (&net.Dialer{ - Timeout: 30 * time.Second, // Bağlantı süresi aşılması durumunda zaman aşımı - KeepAlive: 30 * time.Second, // Keep-alive süresi - DualStack: true, // İstemci IPv4/IPv6 desteği + Timeout: 30 * time.Second, // Connection timeout in case of exceeding the time + KeepAlive: 30 * time.Second, // Keep-alive time + DualStack: true, // Client IPv4/IPv6 support }).DialContext, } cfg.httpClient = &http.Client{Transport: tr}