mraible opened a new pull request, #340:
URL: https://github.com/apache/roller/pull/340

   Follows up #314 from review. Changes to the planet feed fetcher 
(`RomeFeedFetcher`):
   
   - An interrupted fetch restores the thread's interrupt flag before throwing 
`FetcherException`.
   - A malformed feed URL fails with a `FetcherException` instead of the 
`IllegalArgumentException` from `URI.create`.
   - A response other than 2xx fails with its status instead of being parsed as 
a feed.
   - When the fetcher stops waiting, the body subscriber cancels its 
subscription, so the download doesn't go on in the background.
   
   Tests: new `RomeFeedFetcherLimitsTest` cases cover an abandoned download 
being closed, a 404, a malformed URL and a kept interrupt. The timing tests 
allow more time, so a slow build machine doesn't fail them.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to