Merge pull request #1276 from Barenboim/master

Make WFServerBase::create_listen_fd() protected.
This commit is contained in:
xiehan
2023-05-06 18:31:39 +08:00
committed by GitHub

View File

@@ -175,13 +175,13 @@ protected:
WFServerParams params;
protected:
virtual int create_listen_fd();
virtual WFConnection *new_connection(int accept_fd);
void delete_connection(WFConnection *conn);
private:
int init(const struct sockaddr *bind_addr, socklen_t addrlen,
const char *cert_file, const char *key_file);
virtual int create_listen_fd();
virtual void handle_unbound();
protected: