diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2011-03-18 22:45:25 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2011-03-18 22:45:25 +0900 |
| commit | d8585fd6eb7511f1f6bca962f77518dfd0c981c8 (patch) | |
| tree | 1119cd3ebcbc2cc01a95a39ed75935a7cb96a7cb /src | |
| parent | c1c3f2d77a1107fad8fb54ddc90c4c4c5b3af75f (diff) | |
Updated doc
Diffstat (limited to 'src')
| -rw-r--r-- | src/HttpListenCommand.cc | 4 | ||||
| -rw-r--r-- | src/HttpServerCommand.cc | 2 | ||||
| -rw-r--r-- | src/RequestGroup.cc | 2 | ||||
| -rw-r--r-- | src/main.cc | 6 |
4 files changed, 7 insertions, 7 deletions
diff --git a/src/HttpListenCommand.cc b/src/HttpListenCommand.cc index 6d0603b4..6874a20c 100644 --- a/src/HttpListenCommand.cc +++ b/src/HttpListenCommand.cc @@ -76,7 +76,7 @@ bool HttpListenCommand::execute() std::pair<std::string, uint16_t> peerInfo; socket->getPeerInfo(peerInfo); - A2_LOG_INFO(fmt("XML-RPC: Accepted the connection from %s:%u.", + A2_LOG_INFO(fmt("RPC: Accepted the connection from %s:%u.", peerInfo.first.c_str(), peerInfo.second)); HttpServerCommand* c = @@ -113,7 +113,7 @@ bool HttpListenCommand::bindPort(uint16_t port) e_->addSocketForReadCheck(serverSocket_, this); return true; } catch(RecoverableException& e) { - A2_LOG_ERROR(fmt("Failed to setup XML-RPC server for IPv%d", + A2_LOG_ERROR(fmt("Failed to setup RPC server for IPv%d", family_ == AF_INET?4:6)); A2_LOG_ERROR_EX(fmt(MSG_BIND_FAILURE, getCuid(), port), diff --git a/src/HttpServerCommand.cc b/src/HttpServerCommand.cc index f0fb7750..1fde0844 100644 --- a/src/HttpServerCommand.cc +++ b/src/HttpServerCommand.cc @@ -133,7 +133,7 @@ bool HttpServerCommand::execute() (e_->getOption()->getAsInt(PREF_RPC_MAX_REQUEST_SIZE)) < httpServer_->getContentLength()) { A2_LOG_INFO(fmt("Request too long. ContentLength=%s." - " See --xml-rpc-max-request-size option to loose" + " See --rpc-max-request-size option to loose" " this limitation.", util::uitos(httpServer_->getContentLength()).c_str())); return true; diff --git a/src/RequestGroup.cc b/src/RequestGroup.cc index fd4a04d8..4d798164 100644 --- a/src/RequestGroup.cc +++ b/src/RequestGroup.cc @@ -1025,7 +1025,7 @@ void RequestGroup::releaseRuntimeResource(DownloadEngine* e) pieceStorage_->removeAdvertisedPiece(0); } // Don't reset segmentMan_ and pieceStorage_ here to provide - // progress information via XML-RPC + // progress information via RPC progressInfoFile_.reset(); downloadContext_->releaseRuntimeResource(); } diff --git a/src/main.cc b/src/main.cc index 18bf512b..6b9fefbc 100644 --- a/src/main.cc +++ b/src/main.cc @@ -254,9 +254,9 @@ error_code::Value main(int argc, char* argv[]) } // Remove option values which is only valid for URIs specified in - // command-line. If they are left, because op is used as a - // template for new RequestGroup(such as created in XML-RPC - // command), they causes unintentional effect. + // command-line. If they are left, because op is used as a template + // for new RequestGroup(such as created in RPC command), they causes + // unintentional effect. op->remove(PREF_OUT); op->remove(PREF_FORCE_SEQUENTIAL); op->remove(PREF_INPUT_FILE); |
