Menu

#36 Submission plugin needs timeouts

open
nobody
None
5
2012-12-09
2010-08-15
Anonymous
No

The submission plugin needs reasonable connect and read timeouts wherever URLConnections are used. In Submitter.readSubmissionTargets, the URL.openStream() should be changed to a URL.openConnection() so that timeouts can be added there also. It would be nice if methods were added to Submitter to allow timeouts to be specified (connect and read timeouts for reading submission targets and for submission - four methods - at least), but otherwise fifteen second timeouts would be reasonable.

Discussion