Skip to content

Commit

Permalink
Adding handshake timeout with default value for now.
Browse files Browse the repository at this point in the history
  • Loading branch information
asergeyev committed Dec 14, 2017
1 parent 8b12b77 commit b2b6022
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ func parseCommandLine() *Config {
config.DevConsole = *devConsoleFlag
config.StartupTime = time.Now()
config.ServerSoftware = fmt.Sprintf("websocketd/%s", Version())
config.HandshakeTimeout = time.Millisecond * 1500 // only default for now

if len(os.Args) == 1 {
fmt.Printf("Command line arguments are missing.\n")
Expand Down

0 comments on commit b2b6022

Please sign in to comment.