Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-780

HTTP error 413 when sending a long string to the Avatica server

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.4.0-incubating
    • avatica
    • None

    Description

      When I try to execute a query with a very long string, the server returns error 413 "entity too large". My assumption is that this happens, because the RPC uses a HTTP header to pass the RPC request data and most HTTP parsers do not like long headers. The best solution would be to use the body of the HTTP request. It could be made backward-compatible, by checking the header first and if it's missing, then read the body.

      Attachments

        Issue Links

          Activity

            People

              julianhyde Julian Hyde
              lukaslalinsky Lukas Lalinsky
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: