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
Anti-censorship
Pluggable Transports
Snowflake
Commits
a5544393
Commit
a5544393
authored
Dec 18, 2018
by
David Fifield
Browse files
Link to #26360 for why we blackhole logs without -log.
Maybe we'll able to remove this in the far future.
parent
a48b7047
Changes
1
Show whitespace changes
Inline
Side-by-side
client/snowflake.go
View file @
a5544393
...
...
@@ -93,6 +93,11 @@ func main() {
defer
logFile
.
Close
()
log
.
SetOutput
(
logFile
)
}
else
{
// Don't write to stderr; versions of tor earlier than about
// 0.3.5.6 do not read from the pipe, and eventually we will
// deadlock because the buffer is full.
// https://bugs.torproject.org/26360
// https://bugs.torproject.org/25600#comment:14
log
.
SetOutput
(
ioutil
.
Discard
)
}
...
...
Write
Preview
Supports
Markdown
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