summaryrefslogtreecommitdiffstats
path: root/gogs.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2016-03-18 06:13:16 -0400
committerUnknwon <u@gogs.io>2016-03-18 06:13:16 -0400
commit9e09e4850283b2b521f6087418d5d165bcc7cf8f (patch)
treede37a9598d3ab094127089c56ce4895dd8fb01b5 /gogs.go
parentc79774e8d48faed4a04be80eb0ede3fbc4276d4a (diff)
downloadgitea-9e09e4850283b2b521f6087418d5d165bcc7cf8f.tar.gz
gitea-9e09e4850283b2b521f6087418d5d165bcc7cf8f.zip
#2850 fix potential SSH commands dislocation
When use builtin SSH server with concurrent operations, there are probabilities One connection could use the command from another connections. Fix this by set SSH_ORIGINAL_COMMAND for each command, not set in global scope.
Diffstat (limited to 'gogs.go')
-rw-r--r--gogs.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/gogs.go b/gogs.go
index 7142189933..2a6fd3b5a6 100644
--- a/gogs.go
+++ b/gogs.go
@@ -17,7 +17,7 @@ import (
"github.com/gogits/gogs/modules/setting"
)
-const APP_VER = "0.9.12.0316"
+const APP_VER = "0.9.13.0318"
func init() {
runtime.GOMAXPROCS(runtime.NumCPU())