2010-11-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>

Print IP protocol version when setting up XML-RPC server failed.
	* src/HttpListenCommand.cc
This commit is contained in:
Tatsuhiro Tsujikawa 2010-11-09 15:22:50 +00:00
parent f1af13567f
commit 513e8a7917
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2010-11-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Print IP protocol version when setting up XML-RPC server failed.
* src/HttpListenCommand.cc
2010-11-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Retry open(2) and fallocate(2) when they are interrupted by

View File

@ -119,6 +119,8 @@ bool HttpListenCommand::bindPort(uint16_t port)
e_->addSocketForReadCheck(serverSocket_, this);
return true;
} catch(RecoverableException& e) {
getLogger()->error("Failed to setup XML-RPC server for IPv%d",
family_ == AF_INET?4:6);
getLogger()->error(MSG_BIND_FAILURE, e,
util::itos(getCuid()).c_str(), port);
if(!serverSocket_.isNull()) {