[tor-commits] [meek/master] Log version number in meek-server startup.
dcf at torproject.org
dcf at torproject.org
Mon Jan 11 20:50:56 UTC 2016
commit 1d9289ab8ddda94c011d5aea0b2fda643506368f
Author: David Fifield <david at bamsoftware.com>
Date: Mon Jan 11 12:49:49 2016 -0800
Log version number in meek-server startup.
---
meek-server/meek-server.go | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/meek-server/meek-server.go b/meek-server/meek-server.go
index 258c4c1..a44d1c5 100644
--- a/meek-server/meek-server.go
+++ b/meek-server/meek-server.go
@@ -30,6 +30,8 @@ import (
)
const (
+ programVersion = "0.21"
+
ptMethodName = "meek"
// Reject session ids shorter than this, as a weak defense against
// client bugs that send an empty session id or something similarly
@@ -365,7 +367,7 @@ func main() {
log.Fatalf("error in ServerSetup: %s", err)
}
- log.Printf("starting")
+ log.Printf("starting version %s", programVersion)
listeners := make([]net.Listener, 0)
for _, bindaddr := range ptInfo.Bindaddrs {
if port != 0 {
More information about the tor-commits
mailing list