Commit Graph

26 Commits (e1f8a41a359c5525374c2590d4e85fc4b17ae568)

Author SHA1 Message Date
James Phillips 9f7a973ace
Adds an `X-Consul-Translate-Addresses` to signal translation is enabled.
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