mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-14 05:11:19 -04:00
Report the version of snowflake to the Tor process
This commit is contained in:
parent
ffdda1358a
commit
9e977fe6ca
2 changed files with 2 additions and 0 deletions
|
@ -263,6 +263,7 @@ func main() {
|
||||||
pt.ProxyDone()
|
pt.ProxyDone()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
pt.ReportVersion("snowflake", version.GetVersion())
|
||||||
listeners := make([]net.Listener, 0)
|
listeners := make([]net.Listener, 0)
|
||||||
shutdown := make(chan struct{})
|
shutdown := make(chan struct{})
|
||||||
var wg sync.WaitGroup
|
var wg sync.WaitGroup
|
||||||
|
|
|
@ -180,6 +180,7 @@ func main() {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Fatalf("error in setup: %s", err)
|
log.Fatalf("error in setup: %s", err)
|
||||||
}
|
}
|
||||||
|
pt.ReportVersion("snowflake", version.GetVersion())
|
||||||
|
|
||||||
go statsThread()
|
go statsThread()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue