2008-02-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>

Fixed the bug that option handler for 
PREF_METALINK_ENABLE_UNIQUE_PROTOCOL.
	is missing.
	* src/OptionHandlerFactory.cc
pull/1/head
Tatsuhiro Tsujikawa 2008-02-27 12:56:52 +00:00
parent 897ab7321f
commit eb9f9ac59d
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2008-02-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Fixed the bug that option handler for PREF_METALINK_ENABLE_UNIQUE_PROTOCOL.
is missing.
* src/OptionHandlerFactory.cc
2008-02-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Fixed the bug that HAVE message is not sent for a piece they are

View File

@ -112,6 +112,7 @@ OptionHandlers OptionHandlerFactory::createOptionHandlers()
handlers.push_back(new ParameterOptionHandler(PREF_METALINK_PREFERRED_PROTOCOL,
std::deque<std::string>(&params[0], &params[arrayLength(params)])));
}
handlers.push_back(new BooleanOptionHandler(PREF_METALINK_ENABLE_UNIQUE_PROTOCOL));
handlers.push_back(new BooleanOptionHandler(PREF_ENABLE_PEER_EXCHANGE));
handlers.push_back(new BooleanOptionHandler(PREF_ENABLE_DHT));
handlers.push_back(new IntegerRangeOptionHandler(PREF_DHT_LISTEN_PORT, 1024, UINT16_MAX));