Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
133c8834
Commit
133c8834
authored
Mar 02, 2021
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
output/httpd: update API documentation
parent
99217593
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
7 deletions
+5
-7
HttpdInternal.hxx
src/output/plugins/httpd/HttpdInternal.hxx
+2
-4
HttpdOutputPlugin.cxx
src/output/plugins/httpd/HttpdOutputPlugin.cxx
+3
-3
No files found.
src/output/plugins/httpd/HttpdInternal.hxx
View file @
133c8834
...
...
@@ -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
;
...
...
src/output/plugins/httpd/HttpdOutputPlugin.cxx
View file @
133c8834
...
...
@@ -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
t
imer; t
herefore, 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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment