Commit 133c8834 authored by Max Kellermann's avatar Max Kellermann

output/httpd: update API documentation

parent 99217593
......@@ -140,14 +140,12 @@ private:
boost::intrusive::constant_time_size<true>> 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;
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment