Uploaded image for project: 'Red Hat 3scale API Management'
  1. Red Hat 3scale API Management
  2. THREESCALE-12104

Return 400 on requests which URLs are longer than allowed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • Backend
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started

      In order to protect apisonator from DoS attacks, we are setting a limit of 12kb for URLs in incoming requests.

      When such a long request is received, we are returning the status code 503, error.

      It would be more appropriate to return the status 400, bad request.

      The status code is returned by falcon before giving control to us, so I'm not sure we can fix it.

      This is issue is about investigating how could we return a 400 in the described scenario.

              Unassigned Unassigned
              rh-ee-jlledo Joan Lledo
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: