< Previous | Contents | Next >

Connection failure handling

You should retry an HS3 request if either of these happens:


The client cannot establish an HS3 connection to the HCP system.


The connection breaks while HCP is processing a request. In this case, the most likely cause is that the node processing the request became unavailable.


When retrying the request:


If the original request used the hostname of the HCP system in the URL, repeat the request in the same way.


If the original request used an IP address, retry the request using either a different IP address or the hostname of the system.


If the connection breaks while HCP is processing a GET request, you may not know whether the returned data is all or only some of the object data. In this case, you can check the number of returned bytes against the content length returned in the HS3 Content-Length response header. If the numbers match, the returned data is complete.


196 Chapter 7: Usage considerations

image