Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-1155

RSS plugin getFeed and xwiki.getURLContent donc have timeouts and can lock a thread

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.1 M1
    • 1.0 RC3
    • {Unused} Core
    • None

    Description

      Both the RSS Feed Api and the getURLContent xwiki api can lock a thread if connecting to a server that does not respond.
      We need to implement a timeout (default 60 seconds).

      For this the proposal is to use HttpClient for the Feed plugin and use it's timeout featur.
      New apis are proposed for getURLContent including the timeout field.

      Attachments

        Activity

          People

            ldubost@free.fr Ludovic Dubost
            ludovic Ludovic Dubost
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: