Skip to content

Instantly share code, notes, and snippets.

View DanielMorsing's full-sized avatar

Daniel Morsing DanielMorsing

View GitHub Profile
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 {
@DanielMorsing
DanielMorsing / baseutf8
Created April 19, 2015 10:37
A shitty thing I did in order to pgp sign a tweet.
package main
import (
"fmt"
"io/ioutil"
"math/big"
"os"
)
func main() {