Yicheng Qin
ea2347a40f
client: pin itself to an endpoint that given
...
1. When reset endpoints, client will choose a random endpoint to pin.
2. If the pinned endpoint is healthy, client will keep using it.
3. If the pinned endpoint becomes unhealthy, client will attempt other
endpoints and update its pin.
2015-07-27 13:36:53 -07:00
Yicheng Qin
7716bdf981
client: fix TestSimpleHTTPClientDoCancelContextResponseBodyClosed
...
This fixes the bug that the test may hang forever because RoundTrip is
blocked. fixes #2449
2015-06-16 11:29:54 -07:00
Xiang Li
15ac4f08f8
client: fix cancel watch
...
ioutil.ReadAll is a blocking call, we need to wait cancelation
during the call.
2015-06-05 15:40:43 -07:00
Alex Crawford
d9ad6aa2a9
*: update to use IANA-assigned ports
2015-04-06 13:49:43 -07:00
Brian Waldon
25cf916a80
client: ensure Response closed on cancel
2015-02-28 10:45:21 -08:00
Brian Waldon
b41d6bc416
client: set hard limit on redirect checks
2015-02-28 10:45:21 -08:00
Brian Waldon
99aa0e1fcc
client: test httpClusterClient.reset failure cases
2015-02-28 10:45:21 -08:00
Brian Waldon
cd777b2966
client: test httpClusterClient.Sync
2015-02-28 10:45:21 -08:00
Brian Waldon
83930ac113
client: test DefaultCheckRedirect
2015-02-28 10:45:21 -08:00
Brian Waldon
32bfcca5a8
client: test httpKeysAPI.Set
2015-02-28 10:45:20 -08:00
Brian Waldon
9378413283
client: exhaustive member-related testing
2015-02-28 10:38:47 -08:00
Brian Waldon
b174732812
client: introduce Error type
2015-02-28 10:38:47 -08:00
Brian Waldon
9b334e07a6
client: allow caller to decide HTTP redirect policy
2015-02-28 10:38:46 -08:00
Brian Waldon
6d82472275
client: move http.go into client.go
2015-02-28 10:22:52 -08:00