Commit Graph

42 Commits (4b51d00458da8f6241498d7191b3daf1d1f81159)

Author SHA1 Message Date
James Phillips 3baa703d02 Merge pull request #3077 from jwasinger/issue-2850
8 years ago
Jared Wasinger d2ef61d079 Prevent Session.Destroy from leaving open TCP connections
8 years ago
Kyle Havlovitz 4e44db87e3
Don't overwrite Transport's TLS config if it's been set
8 years ago
Kyle Havlovitz 04f1ff78f8 Remove superfluous default HttpClient check in NewClient
8 years ago
Frank Schroeder 3e00e36f41 golint: Untangle if blocks with return in else
8 years ago
Kyle Havlovitz c6d0b4cf90 Make the API client's httpClient more pluggable (#2926)
8 years ago
Kyle Havlovitz ae6bf56ee1
Add tls client options to api/cli
8 years ago
Jeff Mitchell 44733caf5c Update unix dial functions to use DialContext with new go-cleanhttp
8 years ago
Kyle Havlovitz c9abafab92
Update docs and give better error for unknown client scheme
8 years ago
Kyle Havlovitz a7a6ee9f4c
Allow prefixing -http-addr with http/https schemes
8 years ago
Kyle Havlovitz bad037fb58
Cleanup and formatting adjustments
8 years ago
Kyle Havlovitz abdf1fbab3
Convert keyring command to use base.Command
8 years ago
Kyle Havlovitz 87c0283bb1
Update client api and docs for node metadata
8 years ago
James Phillips c744792fc4 Merge pull request #2238 from hasyimibhar/master
8 years ago
James Phillips 9f7a973ace
Adds an `X-Consul-Translate-Addresses` to signal translation is enabled.
8 years ago
Hasyimi Bahrudin 105cea9bae Add api environment variables as constants for consistency
8 years ago
Hasyimi Bahrudin bb6bb19aad Remove redundant hardcoded environment variables
8 years ago
Jeff Mitchell f1a67836d8 Use header to send Consul token rather than query param.
8 years ago
James Phillips 0eb6279c5e Improves the comment for the Address field.
9 years ago
James Phillips 1cfed981b3 Adds TLS config helper to API client.
9 years ago
James Phillips abacccd6e5 Switches default for API client to pooled connections.
9 years ago
James Phillips 58fb27e70f Factors server error checking into a new function.
9 years ago
James Phillips c048c5aca6 Makes the API behave better with small wait values.
9 years ago
James Phillips ebff3fe0d0 Builds the insecure SSL transport off the clean default transport.
9 years ago
Jeff Mitchell 4604af6aa5 Revert "Adds client and transport pooling in the API so we don't leak connections."
9 years ago
James Phillips f6546a0e46 Makes the insecure transport work like the default one.
9 years ago
James Phillips d57e60a123 Adds client and transport pooling in the API so we don't leak connections.
9 years ago
James Phillips 787f946f8d Adds support for coordinates to client API.
9 years ago
Jeff Mitchell 1e3840b044 Update cleanhttp repo location
9 years ago
Jeff Mitchell 9a5fd5424a Use cleanhttp to get rid of DefaultTransport
9 years ago
Jeff Mitchell f49fc095ef Don't use http.DefaultClient
9 years ago
Dale Wijnand 5a28ebcaa3 Fix a bunch of typos.
9 years ago
Seth Vargo b4f8c98fbb Read select environment variables when generating the default configuration
10 years ago
Armon Dadgar 5f627fca1b api: Refactoring into shared write logic
10 years ago
Armon Dadgar c0c9fb58ce api: Refactoring into shared query logic
10 years ago
Ryan Uber b30af9536d Merge pull request #608 from imkira/fixBodyLeak
10 years ago
Mário Freitas f45105383c fixed: requireOK should close Body on error
10 years ago
Ryan Uber 4675cdf01c agent: beginning refactor
10 years ago
Jeff Mitchell 9fcea08dbb Ensure a socket is created for permissions adjustment tests and fix some
10 years ago
Jeff Mitchell 11a3ce0bdd RPC and HTTP interfaces fully generically-sockified so Unix is supported.
10 years ago
Ryan Uber 60ebd63760 Import HTTP basic auth patch from armon/consul-api#16
10 years ago
Ryan Uber 5555e0eb9b api: initial import from armon/consul-api
10 years ago