[SERVER-9510] increase HTTP receive buffer size is to better handle rest API Created: 30/Apr/13  Updated: 28/Apr/17  Resolved: 28/Apr/17

Status: Closed
Project: Core Server
Component/s: HTTP Console
Affects Version/s: 2.4.3
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Hiroaki Assignee: DO NOT USE - Backlog - Platform Team
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

CentOS 64bit


Participants:

 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.



 Comments   
Comment by Andrew Morrow (Inactive) [ 28/Apr/17 ]

The existing HTTP interface is being retired, and we will not be making improvements to it. A replacement will be released sometime in the future.

Generated at Thu Feb 08 03:20:38 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.