Unverified Commit 4e39f446 authored by Mohsen's avatar Mohsen Committed by GitHub

Update endpoint.cc

parent 1f522777
...@@ -70,7 +70,7 @@ Endpoint::Endpoint(const Address& addr) ...@@ -70,7 +70,7 @@ Endpoint::Endpoint(const Address& addr)
void void
Endpoint::init(const Endpoint::Options& options) { Endpoint::init(const Endpoint::Options& options) {
listener.init(options.threads_, options.flags_, options.threadsName_); listener.init(options.threads_, options.flags_, options.threadsName_);
ArrayStreamBuf<char>::maxSize = options.maxRequestSize_; ArrayStreamBuf<char>::maxSize = options.maxRequestSize_;
DynamicStreamBuf::maxSize = options.maxResponseSize_; DynamicStreamBuf::maxSize = options.maxResponseSize_;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment