• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

shogi-server source


Commit MetaInfo

Revisãocf2de9ee2d6df9b55f12973146399e4079a589ae (tree)
Hora2013-12-15 11:44:50
AutorDaigo Moriwaki <daigo@debi...>
CommiterDaigo Moriwaki

Mensagem de Log

Merge remote-tracking branch 'origin/master' into wdoor-stable

Mudança Sumário

Diff

--- a/changelog
+++ b/changelog
@@ -1,3 +1,14 @@
1+2013-12-15 Daigo Moriwaki <daigo at debian dot org>
2+
3+ * [webserver]
4+ - Listen on only IPv4 explicitly. Under ruby 1.9.3p194, without
5+ any bind addresses, ruby attempts to listen on both "0.0.0.0"
6+ and "::". Specifying "::" on Linux leads to listen on both IPv4
7+ and IPv6, which results in a warning message saying "Address
8+ already in use - bind(2)".
9+ * [shogi-server]
10+ - Released: Revision "20131215"
11+
112 2013-12-13 Daigo Moriwaki <daigo at debian dot org>
213
314 * [shogi-server]
--- a/shogi_server.rb
+++ b/shogi_server.rb
@@ -51,7 +51,7 @@ Default_Game_Name = "default-1500-0"
5151 One_Time = 10
5252 Least_Time_Per_Move = 1
5353 Login_Time = 300 # time for LOGIN
54-Revision = "20131104"
54+Revision = "20131215"
5555
5656 RELOAD_FILES = ["shogi_server/league/floodgate.rb",
5757 "shogi_server/league/persistent.rb",
--- a/webserver
+++ b/webserver
@@ -151,6 +151,7 @@ def main
151151 http_log_file = File.join($options["dir"], "shogi-server-httpd.log")
152152 http_access_log_file = File.join($options["dir"], "shogi-server-access.log")
153153 http_config = {}
154+ http_config[:BindAddress] = "0.0.0.0"
154155 http_config[:Port] = $options["port"]
155156 http_config[:ServerType] = WEBrick::Daemon if $options["daemon"]
156157 http_config[:Logger] = WEBrick::Log.new(http_log_file)