mirror of https://github.com/aria2/aria2
Updated doc
parent
c1c3f2d77a
commit
d8585fd6eb
|
@ -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),
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue