Add BlockingTCP option, useful when using TCPOnly on slow or congested links.

This commit is contained in:
Guus Sliepen 2004-11-10 21:56:31 +00:00
parent 5bba3124c8
commit 4fe7aff4d1
4 changed files with 31 additions and 0 deletions

View file

@ -286,6 +286,8 @@ bool setup_myself(void)
if(get_config_bool(lookup_config(myself->connection->config_tree, "TCPOnly"), &choice) && choice)
myself->options |= OPTION_TCPONLY;
get_config_bool(lookup_config(config_tree, "BlockingTCP"), &blockingtcp);
if(get_config_bool(lookup_config(myself->connection->config_tree, "PMTUDiscovery"), &choice) && choice)
myself->options |= OPTION_PMTU_DISCOVERY;