Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
Tor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Benjamin J. Thompson
Tor
Commits
c3ae1454
Commit
c3ae1454
authored
6 years ago
by
Roger Dingledine
Browse files
Options
Downloads
Patches
Plain Diff
minor cleanups on commit
17daab76
better punctuation and clearer wording
parent
5ad72bc1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/or/hs_stats.c
+3
-3
3 additions, 3 deletions
src/or/hs_stats.c
src/or/status.c
+3
-3
3 additions, 3 deletions
src/or/status.c
with
6 additions
and
6 deletions
src/or/hs_stats.c
+
3
−
3
View file @
c3ae1454
...
...
@@ -3,7 +3,7 @@
/**
* \file hs_stats.c
* \brief Keeps stats about the activity of our
hidde
n service.
* \brief Keeps stats about the activity of our
onio
n service
(s)
.
**/
#include
"or.h"
...
...
@@ -42,14 +42,14 @@ hs_stats_get_n_introduce2_v2_cells(void)
return
n_introduce2_v2
;
}
/** Note that we attempted to launch another circuit to a rendezvous point */
/** Note that we attempted to launch another circuit to a rendezvous point
.
*/
void
hs_stats_note_service_rendezvous_launch
(
void
)
{
n_rendezvous_launches
++
;
}
/** Return the number of rendezvous circuits we have attempted to launch */
/** Return the number of rendezvous circuits we have attempted to launch
.
*/
uint32_t
hs_stats_get_n_rendezvous_launches
(
void
)
{
...
...
This diff is collapsed.
Click to expand it.
src/or/status.c
+
3
−
3
View file @
c3ae1454
...
...
@@ -87,19 +87,19 @@ bytes_to_usage(uint64_t bytes)
return
bw_string
;
}
/** Log some usage info about our
hidde
n service */
/** Log some usage info about our
onio
n service
(s).
*/
static
void
log_onion_service_stats
(
void
)
{
unsigned
int
num_services
=
hs_service_get_num_services
();
/* If there are no active
hidde
n services, no need to print logs */
/* If there are no active
onio
n services, no need to print logs */
if
(
num_services
==
0
)
{
return
;
}
log_notice
(
LD_HEARTBEAT
,
"Our
hidde
n service%s received %u v2 and %u v3 INTRODUCE2 cells "
"Our
onio
n service%s received %u v2 and %u v3 INTRODUCE2 cells "
"and attempted to launch %d rendezvous circuits."
,
num_services
==
1
?
""
:
"s"
,
hs_stats_get_n_introduce2_v2_cells
(),
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment