Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-9510

increase HTTP receive buffer size is to better handle rest API

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Won't Fix
    • Affects Version/s: 2.4.3
    • Fix Version/s: None
    • Component/s: HTTP Console
    • Labels:
      None
    • Environment:
      CentOS 64bit

      Description

      REST API is supported in MongoDB.
      However, the buffer size for HTTP protocol is secured only 4096 bytes in stack. ( MiniWebServer::accepted() in miniwebserver.cpp )
      It seems like too small to handle POST method request that was intended in put a document into the DB.

      For now , I could get the "400 OK" status code when I try to POST a document is exceeded 4k.

        Attachments

          Activity

            People

            Assignee:
            backlog-server-platform DO NOT USE - Backlog - Platform Team
            Reporter:
            crumbjp Hiroaki
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: