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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0 RC3
    • Fix Version/s: 1.1 M1
    • Component/s: {Unused} Core
    • Labels:
      None
    • Similar issues:

      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

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

              Dates

              • Created:
                Updated:
                Resolved: