~chipaca/ubuntu-push/gsettings

« back to all changes in this revision

Viewing changes to http13client/_patches/no_keepalive.patch

  • Committer: Samuele Pedroni (Canonical Services Ltd.)
  • Date: 2014-03-19 20:20:19 UTC
  • mto: This revision was merged to the branch mainline in revision 82.
  • Revision ID: samuele.pedroni@canonical.com-20140319202019-p0w8krshj1098f82
grab go 1.3 dev net/http and massage it so that the test run on 1.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
--- a/transport.go      2014-03-19 19:53:49.401406590 +0000
 
2
+++ b/transport.go      2014-03-19 19:54:05.817611304 +0000
 
3
@@ -34,7 +34,7 @@
 
4
        Proxy: ProxyFromEnvironment,
 
5
        Dial: (&net.Dialer{
 
6
                Timeout:   30 * time.Second,
 
7
-               KeepAlive: 30 * time.Second,
 
8
+               // KeepAlive: 30 * time.Second,
 
9
        }).Dial,
 
10
        TLSHandshakeTimeout: 10 * time.Second,
 
11
 }