Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
The Tor Project
Core
Tor
Commits
a7904543
Commit
a7904543
authored
Apr 09, 2014
by
Nick Mathewson
👉
Browse files
Demote "we stalled too much while trying to write" message to INFO
Resolves ticket 5286.
parent
2f735258
Changes
2
Hide whitespace changes
Inline
Side-by-side
changes/bug5286
0 → 100644
View file @
a7904543
o Minor features:
- Demote the message that we give when a flushing connection times
out for too long from NOTICE to INFO. It was usually meaningless.
Resolves ticket 5286.
src/or/main.c
View file @
a7904543
...
@@ -919,16 +919,7 @@ conn_close_if_marked(int i)
...
@@ -919,16 +919,7 @@ conn_close_if_marked(int i)
return
0
;
return
0
;
}
}
if
(
connection_wants_to_flush
(
conn
))
{
if
(
connection_wants_to_flush
(
conn
))
{
int
severity
;
log_fn
(
LOG_INFO
,
LD_NET
,
"We stalled too much while trying to write %d "
if
(
conn
->
type
==
CONN_TYPE_EXIT
||
(
conn
->
type
==
CONN_TYPE_OR
&&
server_mode
(
get_options
()))
||
(
conn
->
type
==
CONN_TYPE_DIR
&&
conn
->
purpose
==
DIR_PURPOSE_SERVER
))
severity
=
LOG_INFO
;
else
severity
=
LOG_NOTICE
;
/* XXXX Maybe allow this to happen a certain amount per hour; it usually
* is meaningless. */
log_fn
(
severity
,
LD_NET
,
"We stalled too much while trying to write %d "
"bytes to address %s. If this happens a lot, either "
"bytes to address %s. If this happens a lot, either "
"something is wrong with your network connection, or "
"something is wrong with your network connection, or "
"something is wrong with theirs. "
"something is wrong with theirs. "
...
...
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