You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
1.7 KiB

  1. From 8ed34b67df8c795780f80db5be35ad468713110e Mon Sep 17 00:00:00 2001
  2. From: arvidn <arvid@libtorrent.org>
  3. Date: Thu, 19 Aug 2021 11:54:13 +0200
  4. Subject: [PATCH] bump handler allocation sizes for boost-1.77 (linux)
  5. ---
  6. include/libtorrent/aux_/allocating_handler.hpp | 10 +++++-----
  7. 1 file changed, 5 insertions(+), 5 deletions(-)
  8. --- a/include/libtorrent/aux_/allocating_handler.hpp
  9. +++ b/include/libtorrent/aux_/allocating_handler.hpp
  10. @@ -122,14 +122,14 @@ namespace libtorrent { namespace aux {
  11. constexpr std::size_t fuzzer_write_cost = 0;
  12. constexpr std::size_t fuzzer_read_cost = 0;
  13. #endif
  14. - constexpr std::size_t write_handler_max_size = tracking + debug_write_iter + openssl_write_cost + fuzzer_write_cost + 152;
  15. - constexpr std::size_t read_handler_max_size = tracking + debug_read_iter + openssl_read_cost + fuzzer_read_cost + 152;
  16. - constexpr std::size_t udp_handler_max_size = tracking + 144;
  17. - constexpr std::size_t utp_handler_max_size = tracking + 168;
  18. + constexpr std::size_t write_handler_max_size = tracking + debug_write_iter + openssl_write_cost + fuzzer_write_cost + 168;
  19. + constexpr std::size_t read_handler_max_size = tracking + debug_read_iter + openssl_read_cost + fuzzer_read_cost + 168;
  20. + constexpr std::size_t udp_handler_max_size = tracking + 160;
  21. + constexpr std::size_t utp_handler_max_size = tracking + 184;
  22. constexpr std::size_t abort_handler_max_size = tracking + 72;
  23. constexpr std::size_t submit_handler_max_size = tracking + 72;
  24. constexpr std::size_t deferred_handler_max_size = tracking + 80;
  25. - constexpr std::size_t tick_handler_max_size = tracking + 112;
  26. + constexpr std::size_t tick_handler_max_size = tracking + 128;
  27. #endif
  28. enum HandlerName