From 2a3967b2d751651318f5b521100130be1c4ee575 Mon Sep 17 00:00:00 2001 From: guonaihong Date: Thu, 23 May 2024 23:14:59 +0800 Subject: [PATCH] del --- client_option_test.go | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/client_option_test.go b/client_option_test.go index c29ce40..72da83a 100644 --- a/client_option_test.go +++ b/client_option_test.go @@ -31,23 +31,6 @@ import ( "golang.org/x/net/proxy" ) -// // 实现安全的net.Conn -// type safeConn struct { -// net.Conn -// sync.Mutex -// } - -// func (s *safeConn) Write(b []byte) (n int, err error) { -// s.Lock() -// defer s.Unlock() -// return s.Conn.Write(b) -// } - -// func (s *safeConn) Read(b []byte) (n int, err error) { -// s.Lock() -// defer s.Unlock() -// return s.Conn.Read(b) -// } func Test_ClientOption(t *testing.T) { t.Run("ClientOption.WithClientHTTPHeader", func(t *testing.T) { done := make(chan string, 1)