[arch-commits] Commit in opendht/trunk (1 file)

Baptiste Jonglez zorun at archlinux.org
Tue Aug 1 08:17:34 UTC 2017


    Date: Tuesday, August 1, 2017 @ 08:17:33
  Author: zorun
Revision: 247300

opendht: Remove unused patch

Deleted:
  opendht/trunk/0001-network-prevent-sending-packets-larger-than-1280-byt.patch

-----------------------------------------------------------------+
 0001-network-prevent-sending-packets-larger-than-1280-byt.patch |   25 ----------
 1 file changed, 25 deletions(-)

Deleted: 0001-network-prevent-sending-packets-larger-than-1280-byt.patch
===================================================================
--- 0001-network-prevent-sending-packets-larger-than-1280-byt.patch	2017-08-01 07:48:03 UTC (rev 247299)
+++ 0001-network-prevent-sending-packets-larger-than-1280-byt.patch	2017-08-01 08:17:33 UTC (rev 247300)
@@ -1,25 +0,0 @@
-From 8a123f9f68e93452dc2c044f8a2ffa07a6038364 Mon Sep 17 00:00:00 2001
-From: Adrien Beraud <adrien.beraud at savoirfairelinux.com>
-Date: Sun, 9 Jul 2017 07:51:05 -0400
-Subject: [PATCH 1/2] network: prevent sending packets larger than 1280 bytes
-
----
- include/opendht/network_engine.h | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/include/opendht/network_engine.h b/include/opendht/network_engine.h
-index 53f9044..a037cde 100644
---- a/include/opendht/network_engine.h
-+++ b/include/opendht/network_engine.h
-@@ -464,7 +464,7 @@ private:
-     static constexpr unsigned BLACKLISTED_MAX {10};
- 
-     static constexpr size_t MTU {1280};
--    static constexpr size_t MAX_PACKET_VALUE_SIZE {8 * 1024};
-+    static constexpr size_t MAX_PACKET_VALUE_SIZE {600};
- 
-     static const std::string my_v;
-     static std::mt19937 rd_device;
--- 
-2.13.2
-



More information about the arch-commits mailing list