You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Andy Seaborne (JIRA)" <ji...@apache.org> on 2012/07/09 10:59:34 UTC
[jira] [Closed] (JENA-273) Remove timeout in response_print_body()
in soh script
[ https://issues.apache.org/jira/browse/JENA-273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andy Seaborne closed JENA-273.
------------------------------
> Remove timeout in response_print_body() in soh script
> -----------------------------------------------------
>
> Key: JENA-273
> URL: https://issues.apache.org/jira/browse/JENA-273
> Project: Apache Jena
> Issue Type: Improvement
> Components: Fuseki
> Reporter: Joachim Neubert
> Assignee: Andy Seaborne
> Priority: Minor
>
> In the Fuseki soh script, the response_print_body() function (in contrast to response_no_body()) lacks a http.read_timeout=nil setting, so the default (ruby) timeout kicks in.
> --- soh.orig 2012-07-06 13:00:01.000000000 +0200
> +++ soh 2012-07-06 13:00:29.000000000 +0200
> @@ -218,6 +218,7 @@
> def response_print_body(uri, request)
> http = Net::HTTP::Proxy($proxy.host,$proxy.port).new(uri.host, uri.port)
> + http.read_timeout = nil
> # check we can connect.
> begin http.start
> rescue => e
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira