diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-07-28 10:29:25 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-07-28 10:29:25 -0700 |
| commit | 40d5c79b62e7ca7f6da7697e720fb0eb49a26125 (patch) | |
| tree | ff211297bf7fed40e1942fb1fc838f4155427cd9 /service | |
| parent | 15371095146a45122407719d33bcf339ed0f87bf (diff) | |
| download | infinitytier-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.cpp | 2 |
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), |
