From 09326b385734eb824a4e39b59f332f93a1fb2949 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Sun, 21 Sep 2014 00:03:05 -0300 Subject: Fixed Bug 8344 socket.c will no longer drop connections based on wdata size vs WFIFO_MAX. Fixed issue in cooldown logic which'd cause invalid timers and provide characters with ever-lasting cooldowns Special Thanks to Haruna! http://hercules.ws/board/tracker/issue-8344-some-error-message-on-map-server/ Signed-off-by: shennetsind --- src/common/socket.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/common/socket.c') diff --git a/src/common/socket.c b/src/common/socket.c index 0c48c7c46..c57cba32d 100644 --- a/src/common/socket.c +++ b/src/common/socket.c @@ -744,13 +744,6 @@ int WFIFOSET(int fd, size_t len) return 0; } - if (s->wdata_size+len > WFIFO_MAX) { // reached maximum write fifo size - ShowError("WFIFOSET: Maximum write buffer size for client connection %d exceeded, most likely caused by packet 0x%04x (len=%"PRIuS", ip=%u.%u.%u.%u).\n", - fd, WFIFOW(fd,0), len, CONVIP(s->client_addr)); - set_eof(fd); - return 0; - } - } s->wdata_size += len; #ifdef SHOW_SERVER_STATS -- cgit v1.2.3-60-g2f50