1
0
Fork 0

Fix comments

This commit is contained in:
Simran Brucherseifer 2016-08-29 11:52:09 +02:00
parent 524492c75d
commit dc8ced3a9b
2 changed files with 3 additions and 3 deletions

View File

@ -47,9 +47,9 @@ class HttpResponse;
namespace rest {
class GeneralServer;
size_t const HttpCommTask::MaximalHeaderSize = 2 * 1024 * 1024; // 1 MB
size_t const HttpCommTask::MaximalHeaderSize = 2 * 1024 * 1024; // 2 MB
size_t const HttpCommTask::MaximalBodySize = 1024 * 1024 * 1024; // 1024 MB
size_t const HttpCommTask::MaximalPipelineSize = 1024 * 1024 * 1024; // 512 MB
size_t const HttpCommTask::MaximalPipelineSize = 1024 * 1024 * 1024; // 1024 MB
size_t const HttpCommTask::RunCompactEvery = 500;
HttpCommTask::HttpCommTask(GeneralServer* server, TRI_socket_t sock,

View File

@ -162,7 +162,7 @@ void SimpleHttpResult::addHeaderField(char const* key, size_t keyLength,
if (_returnCode == 204) {
// HTTP 204 = No content. Assume we will have a content-length of 0.
// note that will value can be overridden later if the response has the content-length
// note that the value can be overridden later if the response has the content-length
// header set to some other value
setContentLength(0);
}