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;
|
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
|
||||||
{
|
{
|
||||||
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
|
||||||
|
|
Loading…
Reference in New Issue