summaryrefslogtreecommitdiff
path: root/toxcore/tox.h
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2018-06-23 14:24:04 +0000
committeriphydf <iphydf@users.noreply.github.com>2018-06-23 17:36:37 +0000
commitca75c014a41c2d207f705f49a9e0ce696dc0f0a7 (patch)
tree412596b5cea76b7f1f06dc3c7f457d5b09fa6a96 /toxcore/tox.h
parent64d115e52d3e506c360f221b67893ce41423716e (diff)
Disable UDP when proxy is enabled.
Currently, toxcore does not support UDP over proxies. In the future, we can relax this by disabling UDP only if the proxy doesn't support it.
Diffstat (limited to 'toxcore/tox.h')
-rw-r--r--toxcore/tox.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/toxcore/tox.h b/toxcore/tox.h
index d5834095..1b4ce7be 100644
--- a/toxcore/tox.h
+++ b/toxcore/tox.h
@@ -526,7 +526,9 @@ struct Tox_Options {
526 * 526 *
527 * Setting this to false will force Tox to use TCP only. Communications will 527 * Setting this to false will force Tox to use TCP only. Communications will
528 * need to be relayed through a TCP relay node, potentially slowing them down. 528 * need to be relayed through a TCP relay node, potentially slowing them down.
529 * Disabling UDP support is necessary when using anonymous proxies or Tor. 529 *
530 * If a proxy is enabled, UDP will be disabled if either toxcore or the
531 * proxy don't support proxying UDP messages.
530 */ 532 */
531 bool udp_enabled; 533 bool udp_enabled;
532 534