summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2015-07-28 10:29:25 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2015-07-28 10:29:25 -0700
commit40d5c79b62e7ca7f6da7697e720fb0eb49a26125 (patch)
treeff211297bf7fed40e1942fb1fc838f4155427cd9 /service
parent15371095146a45122407719d33bcf339ed0f87bf (diff)
downloadinfinitytier-40d5c79b62e7ca7f6da7697e720fb0eb49a26125.tar.gz
infinitytier-40d5c79b62e7ca7f6da7697e720fb0eb49a26125.zip
Enable SO_NO_CHECK if available to skip UDP checksum on packet send for slight performance improvement. We do our own cryptographically secure authentication so UDP checksum is worthless.
Diffstat (limited to 'service')
-rw-r--r--service/OneService.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/service/OneService.cpp b/service/OneService.cpp
index d582a893..b83cd83f 100644
--- a/service/OneService.cpp
+++ b/service/OneService.cpp
@@ -404,7 +404,7 @@ public:
#ifdef ZT_ENABLE_NETWORK_CONTROLLER
_controller((_homePath + ZT_PATH_SEPARATOR_S + ZT1_CONTROLLER_DB_PATH).c_str()),
#endif
- _phy(this,false),
+ _phy(this,false,true),
_overrideRootTopology((overrideRootTopology) ? overrideRootTopology : ""),
_node((Node *)0),
_controlPlane((ControlPlane *)0),