Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-1243

Expose the ability to set max sizes in http requests for Netty 4

XMLWordPrintable

      NettyJaxrsServer.java is instantiating a HttpRequestDecoder using the default settings.
      These are as follows:

      • maxInitialLineLength=4096
      • maxHeaderSize=8192
      • maxChunkSize=8192

      There is no way for a RestEasy user to specify different values. In my case I am interested in raising the maxHeaderSize since I am dealing with large cookies.
      As per http://stackoverflow.com/questions/686217/maximum-on-http-header-values each server has different limits but 8K is in the lower end.

              patriot1burke@gmail.com Bill Burke (Inactive)
              iker.jimenez Iker Jimenez (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: