You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by "Rupert Westenthaler (JIRA)" <ji...@apache.org> on 2013/03/19 09:13:15 UTC

[jira] [Created] (STANBOL-986) Set connection and read timeouts for all CELI engines

Rupert Westenthaler created STANBOL-986:
-------------------------------------------

             Summary: Set connection and read timeouts for all CELI engines
                 Key: STANBOL-986
                 URL: https://issues.apache.org/jira/browse/STANBOL-986
             Project: Stanbol
          Issue Type: Bug
            Reporter: Rupert Westenthaler
            Assignee: Rupert Westenthaler


If the remote service keeps the connection open, but does fail to send data than calls to the CELI engines might hang forever.

To avoid this situations the CELI engines need to set both the 

    HttpURLConnection#setConnectTimeout(connectTimeout);
    HttpURLConnection#setReadTimeout(socketTimeout);

The default value will be 30sec

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira