~nskaggs/+junk/xenial-test

« back to all changes in this revision

Viewing changes to src/github.com/juju/govmomi/vim25/soap/client_newer.go

  • Committer: Nicholas Skaggs
  • Date: 2016-10-24 20:56:05 UTC
  • Revision ID: nicholas.skaggs@canonical.com-20161024205605-z8lta0uvuhtxwzwl
Initi with beta15

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// +build go1.3
 
2
 
 
3
package soap
 
4
 
 
5
import (
 
6
        "net/http"
 
7
        "time"
 
8
)
 
9
 
 
10
func setTLSHandshakeTimeout(t *http.Transport, d time.Duration) {
 
11
        t.TLSHandshakeTimeout = d
 
12
}