Removing ability for multiple servers to listen to the same address
This commit is contained in:
@@ -34,8 +34,8 @@ namespace daggy::daggyd {
|
|||||||
{
|
{
|
||||||
auto opts = Http::Endpoint::options()
|
auto opts = Http::Endpoint::options()
|
||||||
.threads(threads)
|
.threads(threads)
|
||||||
.flags(Pistache::Tcp::Options::ReuseAddr |
|
// .flags(Pistache::Tcp::Options::ReuseAddr |
|
||||||
Pistache::Tcp::Options::ReusePort)
|
// Pistache::Tcp::Options::ReusePort)
|
||||||
.maxRequestSize(4294967296)
|
.maxRequestSize(4294967296)
|
||||||
.maxResponseSize(4294967296);
|
.maxResponseSize(4294967296);
|
||||||
endpoint_.init(opts);
|
endpoint_.init(opts);
|
||||||
|
|||||||
@@ -23,8 +23,8 @@ namespace daggy::daggyr {
|
|||||||
{
|
{
|
||||||
auto opts = Http::Endpoint::options()
|
auto opts = Http::Endpoint::options()
|
||||||
.threads(threads)
|
.threads(threads)
|
||||||
.flags(Pistache::Tcp::Options::ReuseAddr |
|
//.flags(Pistache::Tcp::Options::ReuseAddr |
|
||||||
Pistache::Tcp::Options::ReusePort)
|
//Pistache::Tcp::Options::ReusePort)
|
||||||
.maxRequestSize(102400)
|
.maxRequestSize(102400)
|
||||||
.maxResponseSize(102400);
|
.maxResponseSize(102400);
|
||||||
endpoint_.init(opts);
|
endpoint_.init(opts);
|
||||||
|
|||||||
Reference in New Issue
Block a user