bump max size of read/write handlers

This commit is contained in:
arvidn 2018-11-10 15:45:25 +01:00 committed by Arvid Norberg
parent fccf25e839
commit dc7cc3ef37
1 changed files with 2 additions and 2 deletions

View File

@ -624,7 +624,7 @@ int snprintf(char* buf, int len, char const* fmt, ...)
#endif
#if !defined(TORRENT_READ_HANDLER_MAX_SIZE)
# ifdef _GLIBCXX_DEBUG
# if defined _GLIBCXX_DEBUG || !defined NDEBUG
# define TORRENT_READ_HANDLER_MAX_SIZE 400
# else
// if this is not divisible by 8, we're wasting space
@ -633,7 +633,7 @@ int snprintf(char* buf, int len, char const* fmt, ...)
#endif
#if !defined(TORRENT_WRITE_HANDLER_MAX_SIZE)
# ifdef _GLIBCXX_DEBUG
# if defined _GLIBCXX_DEBUG || !defined NDEBUG
# define TORRENT_WRITE_HANDLER_MAX_SIZE 400
# else
// if this is not divisible by 8, we're wasting space