Maven Doxia
  1. Maven Doxia
  2. DOXIA-498

PegDownProcessor parsing timeout makes builds non-deterministic.

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 1.4
    • Fix Version/s: 1.5
    • Component/s: Module - Markdown
    • Labels:
      None
    • Environment:
      Linux, Oracle Java 1.7.0_25
    • Number of attachments :
      0

      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.

        Activity

        Hide
        Kristian Rosenvold added a comment -

        Fixed in r1530991. Thanks for the report !

        Show
        Kristian Rosenvold added a comment - Fixed in r1530991. Thanks for the report !

          People

          • Assignee:
            Kristian Rosenvold
            Reporter:
            Devin Reid
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: