output/httpd: update API documentation
This commit is contained in:
parent
99217593bf
commit
133c8834df
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue