equal
deleted
inserted
replaced
56 apiContentTypeValue = []string{"application/octet-stream"} |
56 apiContentTypeValue = []string{"application/octet-stream"} |
57 logFlushHeader = http.CanonicalHeaderKey("X-AppEngine-Log-Flush-Count") |
57 logFlushHeader = http.CanonicalHeaderKey("X-AppEngine-Log-Flush-Count") |
58 |
58 |
59 apiHTTPClient = &http.Client{ |
59 apiHTTPClient = &http.Client{ |
60 Transport: &http.Transport{ |
60 Transport: &http.Transport{ |
61 Proxy: http.ProxyFromEnvironment, |
61 Proxy: http.ProxyFromEnvironment, |
62 Dial: limitDial, |
62 Dial: limitDial, |
|
63 MaxIdleConns: 1000, |
|
64 MaxIdleConnsPerHost: 10000, |
|
65 IdleConnTimeout: 90 * time.Second, |
63 }, |
66 }, |
64 } |
67 } |
65 |
68 |
66 defaultTicketOnce sync.Once |
69 defaultTicketOnce sync.Once |
67 defaultTicket string |
70 defaultTicket string |