commit | 2023f698a0d94c438e2e91e022d29bf71789afaa | [log] [tgz] |
---|---|---|
author | Saša Živkov <sasa.zivkov@sap.com> | Thu Apr 27 12:53:39 2017 +0200 |
committer | Hugo Arès <hugo.ares@ericsson.com> | Thu Apr 27 16:29:17 2017 +0200 |
tree | d66e431633fa390821fa4e01bfe9e7b05f11d384 | |
parent | 1273c97973d17b24b592edf2fa466e8d50b23600 [diff] |
HttpSession: Use Provider<PeerInfo> instead of just PeerInfo When retrying an HTTP request, the same instance of the HttpSession will be (re)used. By using Provider.get() we make sure to use the most recent PeerInfo for the next retry. This adds support for a scenario where the other peer node starts on a different host after being restarted. Change-Id: Ib4e72612e5b1ff3a991c74d136f15dfcc64496a6