Uploaded image for project: 'JBoss Web Server'
  1. JBoss Web Server
  2. JWS-188

ChunkedInputFilter constructor signature

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • JWS 3.0.0 ER1
    • tomcat7, tomcat8
    • None

      The patch for tomcat8 JWS-166 introduced inconsistency to constructor signature of ChunkedInputFilter class:

      tc7: public ChunkedInputFilter(int maxTrailerSize, int maxExtensionSize, int maxSwallowSize)
      tc8: public ChunkedInputFilter(int maxTrailerSize, Set<String> allowedTrailerHeaders, int maxExtensionSize, int maxSwallowSize)
      

      Is it intentional or should it be unified? The tomcat 7.0.62 has signature:

      public ChunkedInputFilter(int maxTrailerSize, Set<String> allowedTrailerHeaders, int maxExtensionSize, int maxSwallowSize)
      

              dknox_jira David Knox (Inactive)
              fgoldefu@redhat.com Filip Goldefus (Inactive)
              Filip Goldefus Filip Goldefus (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: