From 133c8834df9049c3d340da7ba8d6ffc42d167d18 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 2 Mar 2021 18:24:22 +0100 Subject: [PATCH] output/httpd: update API documentation --- src/output/plugins/httpd/HttpdInternal.hxx | 6 ++---- src/output/plugins/httpd/HttpdOutputPlugin.cxx | 6 +++--- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/src/output/plugins/httpd/HttpdInternal.hxx b/src/output/plugins/httpd/HttpdInternal.hxx index 5283c73af..1b7a606b7 100644 --- a/src/output/plugins/httpd/HttpdInternal.hxx +++ b/src/output/plugins/httpd/HttpdInternal.hxx @@ -140,14 +140,12 @@ private: boost::intrusive::constant_time_size> clients; /** - * A temporary buffer for the httpd_output_read_page() - * function. + * A temporary buffer for the ReadPage() function. */ std::byte buffer[32768]; /** - * The maximum and current number of clients connected - * at the same time. + * The maximum number of clients connected at the same time. */ unsigned clients_max; diff --git a/src/output/plugins/httpd/HttpdOutputPlugin.cxx b/src/output/plugins/httpd/HttpdOutputPlugin.cxx index 3ac9cc183..412de7a4d 100644 --- a/src/output/plugins/httpd/HttpdOutputPlugin.cxx +++ b/src/output/plugins/httpd/HttpdOutputPlugin.cxx @@ -239,9 +239,9 @@ HttpdOutput::Delay() const noexcept { if (!LockHasClients() && pause) { /* if there's no client and this output is paused, - then httpd_output_pause() will not do anything, it - will not fill the buffer and it will not update the - timer; therefore, we reset the timer here */ + then Pause() will not do anything, it will not fill + the buffer and it will not update the timer; + therefore, we reset the timer here */ timer->Reset(); /* some arbitrary delay that is long enough to avoid