Uploaded image for project: 'Maven Doxia'
  1. Maven Doxia
  2. DOXIA-498

PegDownProcessor parsing timeout makes builds non-deterministic.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.4
    • 1.5
    • Module - Markdown
    • None
    • Linux, Oracle Java 1.7.0_25

    Description

      Parsing timeout given to PegDownProcessor should be set to Long.MAX_VALUE. The default value is 2000 (2 seconds) which means that builds of large sites will spuriously fail when built on slower computers.

      The parsing timeout is a security feature for use when offering Markdown parsing as a service taking user input, since this use case doesn't apply to a Maven build setting the timeout to Long.MAX_VALUE effectively disables the timeout.

      Attachments

        Activity

          People

            krosenvold Kristian Rosenvold
            devman07 Devin Reid
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: