Allow to se timeout for HttpURLFeedFetcher

Description

Method com.sun.syndication.fetcher.impl.HttpURLFeedFetcher.retrieveFeed(URL) uses URLConnection to establish a connection to the feedUrl. Since connection can hang it is necessary to either set timeout to reasonable default values or to make it configurable. Both java.net.URLConnection.setConnectTimeout(int) and info.magnolia.module.exchangesimple.BaseSyndicatorImpl.prepareConnection(Subscriber, String).urlConnection should be made configurable for feed fetcher to avoid hanging calls.

Environment

None

Activity

Show:

Milan Divilek June 1, 2012 at 12:22 PM

Apologize for misinformation in ticket description info.magnolia.module.exchangesimple.BaseSyndicatorImpl.prepareConnection(Subscriber, String).urlConnection was supposed to be java.net.URLConnection.setReadTimeout(int)

Details

Assignee

Reporter

Priority

Created June 1, 2012 at 11:03 AM
Updated June 1, 2012 at 12:22 PM