3 Jul
2015
3 Jul
'15
12:35 a.m.
On 7/2/2015 11:10 AM, Endi Sukma Dewata wrote:
The HttpConnection class has been modified to support fail-over and timeout more consistently. The targets are parsed into a list during initialization. All direct calls to HttpClient.connect() are replaced with a method that will connect to the first available target. All connections are now created with a timeout (which by default is 0). The timeout is handled internally by JSS instead of by explicitly abandoning asynchronous connection thread.
Reverted the asynchronous thread changes. ACKed by cfu. Pushed to master. -- Endi S. Dewata