This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/net/http/transport.go b/src/net/http/transport.go | |
index 354b5c0..0ec5398 100644 | |
--- a/src/net/http/transport.go | |
+++ b/src/net/http/transport.go | |
@@ -358,6 +358,7 @@ func (cm *connectMethod) proxyAuth() string { | |
// If pconn is no longer needed or not in a good state, putIdleConn | |
// returns false. | |
func (t *Transport) putIdleConn(pconn *persistConn) bool { | |
+ fmt.Println("putidle") | |
if t.DisableKeepAlives || t.MaxIdleConnsPerHost < 0 { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"io/ioutil" | |
"math/big" | |
"os" | |
) | |
func main() { |
NewerOlder