From 40d5c79b62e7ca7f6da7697e720fb0eb49a26125 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Tue, 28 Jul 2015 10:29:25 -0700 Subject: 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. --- osdep/Http.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'osdep/Http.cpp') diff --git a/osdep/Http.cpp b/osdep/Http.cpp index cd3cf137..d491b062 100644 --- a/osdep/Http.cpp +++ b/osdep/Http.cpp @@ -232,7 +232,7 @@ unsigned int Http::_do( handler.error = false; handler.done = false; - Phy phy(&handler,true); + Phy phy(&handler,true,true); bool instantConnect = false; handler.phy = &phy; -- cgit v1.2.3