Commit 6dac39ec authored by jan.koester's avatar jan.koester
Browse files

test

parent c1f71896
Loading
Loading
Loading
Loading
+6 −0
Changes for src/blogi.cpp: 6 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -3546,6 +3546,7 @@ void blogi::Blogi::ResponseEvent(libhttppp::HttpRequest &curreq, const int tid,
// Binds the server socket(s) without starting the event loop.
// Used by the supervisor in pre-fork mode so the fd is inherited by all
// domain worker children before they diverge into separate processes.
#ifndef __WIN32
class HttpConDPreFork : public libhttppp::HttpD
{
public:
@@ -3558,8 +3559,13 @@ public:
                blogi::Blogi::Cfg->getsslpassword())
    {
        blogi::Blogi::HttpServer = this;
        for (auto* s : getServerSockets()) {
            s->bind();
            s->listen();
        }
    }
};
#endif

class HttpConD : public libhttppp::HttpD
{