mirror of https://github.com/aria2/aria2
2010-11-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Print IP protocol version when setting up XML-RPC server failed. * src/HttpListenCommand.ccpull/1/head
parent
f1af13567f
commit
513e8a7917
|
@ -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>
|
2010-11-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||||
|
|
||||||
Retry open(2) and fallocate(2) when they are interrupted by
|
Retry open(2) and fallocate(2) when they are interrupted by
|
||||||
|
|
|
@ -119,6 +119,8 @@ bool HttpListenCommand::bindPort(uint16_t port)
|
||||||
e_->addSocketForReadCheck(serverSocket_, this);
|
e_->addSocketForReadCheck(serverSocket_, this);
|
||||||
return true;
|
return true;
|
||||||
} catch(RecoverableException& e) {
|
} 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,
|
getLogger()->error(MSG_BIND_FAILURE, e,
|
||||||
util::itos(getCuid()).c_str(), port);
|
util::itos(getCuid()).c_str(), port);
|
||||||
if(!serverSocket_.isNull()) {
|
if(!serverSocket_.isNull()) {
|
||||||
|
|
Loading…
Reference in New Issue