mirror code clean

release/v1.15
Unknwon 2014-12-11 18:55:09 -05:00
parent 35140f1cc7
commit 42c7bb7529
3 changed files with 3 additions and 4 deletions

View File

@ -454,8 +454,7 @@ func runWeb(*cli.Context) {
case setting.HTTP:
err = http.ListenAndServe(listenAddr, m)
case setting.HTTPS:
cfg := &tls.Config{MinVersion: tls.VersionTLS10}
server := &http.Server{Addr: listenAddr, TLSConfig: cfg, Handler: m}
server := &http.Server{Addr: listenAddr, TLSConfig: &tls.Config{MinVersion: tls.VersionTLS10}, Handler: m}
err = server.ListenAndServeTLS(setting.CertFile, setting.KeyFile)
case setting.FCGI:
err = fcgi.Serve(nil, m)

View File

@ -17,7 +17,7 @@ import (
"github.com/gogits/gogs/modules/setting"
)
const APP_VER = "0.5.8.1210 Beta"
const APP_VER = "0.5.8.1211 Beta"
func init() {
runtime.GOMAXPROCS(runtime.NumCPU())

View File

@ -1 +1 @@
0.5.8.1210 Beta
0.5.8.1211 Beta