[Commits] [wesnoth/wesnoth] 6c5e9e: campaignd: Print the destination IP in the send_er...
GitHub
noreply at github.com
Wed Jun 25 00:39:18 UTC 2014
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth
Commit: 6c5e9e37e06d9e216ce2a8bd7040c2ca06cd5943
https://github.com/wesnoth/wesnoth/commit/6c5e9e37e06d9e216ce2a8bd7040c2ca06cd5943
Author: Ignacio R. Morelle <shadowm at wesnoth.org>
Date: 2014-06-24 (Tue, 24 Jun 2014)
Changed paths:
M src/campaign_server/campaign_server.cpp
Log Message:
-----------
campaignd: Print the destination IP in the send_error() call
Commit: 6b8e42dfe277846ef6fadd03469de0552bd15ec6
https://github.com/wesnoth/wesnoth/commit/6b8e42dfe277846ef6fadd03469de0552bd15ec6
Author: Ignacio R. Morelle <shadowm at wesnoth.org>
Date: 2014-06-24 (Tue, 24 Jun 2014)
Changed paths:
M src/campaign_server/campaign_server.hpp
Log Message:
-----------
campaignd: Add a typedef for the handlers map
Commit: df54918c362998fce482fd6b72f5739d9a774215
https://github.com/wesnoth/wesnoth/commit/df54918c362998fce482fd6b72f5739d9a774215
Author: Ignacio R. Morelle <shadowm at wesnoth.org>
Date: 2014-06-24 (Tue, 24 Jun 2014)
Changed paths:
M src/campaign_server/campaign_server.cpp
Log Message:
-----------
campaignd: Use find() to locate a request handler
Makes it so for each request received we use
request_handlers_table::find() instead of a plain linear search to find
the handler, using the tag name of the first WML child node we can find,
instead of trying to locate one with a known handler id.
In theory this allows taking advantage of the request_handlers_table
type's (currently a std::map) own lookup mechanism.
Commit: efcf8f7b6aa4e25c0ed5cbd80597e2d894658d95
https://github.com/wesnoth/wesnoth/commit/efcf8f7b6aa4e25c0ed5cbd80597e2d894658d95
Author: Ignacio R. Morelle <shadowm at wesnoth.org>
Date: 2014-06-24 (Tue, 24 Jun 2014)
Changed paths:
M src/campaign_server/campaign_server.cpp
Log Message:
-----------
campaignd: Reject bad requests with an [error] block
This can be used to signal campaignd clients in the future about
features that aren't yet implemented.
As with the previous change to using find() to locate a request handler,
this only applies to the first WML child of the request's root node.
Other nodes continue to be ignored.
Compare: https://github.com/wesnoth/wesnoth/compare/0982d9dc580d...efcf8f7b6aa4
More information about the Commits
mailing list