Skip to content

http3_server.cpp: printf on line 657 does not take the HTTP3_LOG_LEVEL macro into account #1

Description

@de-wired
bool Server::listen(const std::string& host, uint16_t port,
                    const std::string& cert, const std::string& key,
                    const std::string& alpn) {
    if (!impl_->start(host, port, cert, key, alpn)) return false;
    printf("[http3] listening on :%u  alpn=%s\n", port, alpn.c_str()); // line 657, printf called regardless of log level
    while (impl_->running) {
#ifdef _WIN32
        Sleep(200);
#else
        usleep(200'000);
#endif
    }
    return true;
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions