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

output/httpd: update API documentation

parent 99217593
...@@ -140,14 +140,12 @@ private: ...@@ -140,14 +140,12 @@ private:
boost::intrusive::constant_time_size<true>> clients; boost::intrusive::constant_time_size<true>> clients;
/** /**
* A temporary buffer for the httpd_output_read_page() * A temporary buffer for the ReadPage() function.
* function.
*/ */
std::byte buffer[32768]; std::byte buffer[32768];
/** /**
* The maximum and current number of clients connected * The maximum number of clients connected at the same time.
* at the same time.
*/ */
unsigned clients_max; unsigned clients_max;
......
...@@ -239,9 +239,9 @@ HttpdOutput::Delay() const noexcept ...@@ -239,9 +239,9 @@ HttpdOutput::Delay() const noexcept
{ {
if (!LockHasClients() && pause) { if (!LockHasClients() && pause) {
/* if there's no client and this output is paused, /* if there's no client and this output is paused,
then httpd_output_pause() will not do anything, it then Pause() will not do anything, it will not fill
will not fill the buffer and it will not update the the buffer and it will not update the timer;
timer; therefore, we reset the timer here */ therefore, we reset the timer here */
timer->Reset(); timer->Reset();
/* some arbitrary delay that is long enough to avoid /* 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