Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
88a45a32
Commit
88a45a32
authored
Nov 29, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove write-only HTTPd statistics
parent
c72674da
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
9 deletions
+0
-9
src/network/httpd.c
src/network/httpd.c
+0
-9
No files found.
src/network/httpd.c
View file @
88a45a32
...
...
@@ -2017,8 +2017,6 @@ static void httpd_ClientTlsHsOut( httpd_client_t *cl )
static
void
*
httpd_HostThread
(
void
*
data
)
{
httpd_host_t
*
host
=
data
;
counter_t
*
p_total_counter
=
stats_CounterCreate
(
VLC_VAR_INTEGER
,
STATS_COUNTER
);
counter_t
*
p_active_counter
=
stats_CounterCreate
(
VLC_VAR_INTEGER
,
STATS_COUNTER
);
int
evfd
=
vlc_object_waitpipe
(
VLC_OBJECT
(
host
)
);
for
(
;;
)
...
...
@@ -2049,7 +2047,6 @@ static void* httpd_HostThread( void *data )
cl
->
i_activity_date
+
cl
->
i_activity_timeout
<
now
)
)
)
)
{
httpd_ClientClean
(
cl
);
stats_UpdateInteger
(
p_active_counter
,
-
1
,
NULL
);
TAB_REMOVE
(
host
->
i_client
,
host
->
client
,
cl
);
free
(
cl
);
i_client
--
;
...
...
@@ -2472,8 +2469,6 @@ static void* httpd_HostThread( void *data )
else
p_tls
=
NULL
;
stats_UpdateInteger
(
p_total_counter
,
1
,
NULL
);
stats_UpdateInteger
(
p_active_counter
,
1
,
NULL
);
cl
=
httpd_ClientNew
(
fd
,
p_tls
,
now
);
vlc_mutex_lock
(
&
host
->
lock
);
TAB_APPEND
(
host
->
i_client
,
host
->
client
,
cl
);
...
...
@@ -2484,9 +2479,5 @@ static void* httpd_HostThread( void *data )
}
if
(
p_total_counter
)
stats_CounterClean
(
p_total_counter
);
if
(
p_active_counter
)
stats_CounterClean
(
p_active_counter
);
return
NULL
;
}
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