mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-10 04:02:30 +00:00
* Created ThreadBase holding poll manager, etc, and added a this_thread global object.
* Cleaned up main initialization, SCGI and polling code. * Fixed a bug that would cause reading of a piece to hang if the incoming data contains only data up to the file boundary, but not the next file's data. The bug did not trigger if the file boundary and piece boundaries were the same. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1101 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -385,6 +385,7 @@ apply_scgi(const std::string& arg, int type) {
|
||||
}
|
||||
|
||||
control->scgi()->set_slot_process(rak::mem_fn(&rpc::xmlrpc, &rpc::XmlRpc::process));
|
||||
control->scgi()->activate();
|
||||
}
|
||||
|
||||
void
|
||||
@@ -492,6 +493,6 @@ initialize_command_network() {
|
||||
ADD_VARIABLE_BOOL("peer_exchange", true);
|
||||
|
||||
// Not really network stuff:
|
||||
ADD_VARIABLE_BOOL ("log.handshake", false);
|
||||
ADD_VARIABLE_BOOL ("handshake_log", false);
|
||||
ADD_VARIABLE_STRING("log.tracker", "");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user