summaryrefslogtreecommitdiff
path: root/src/common/socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/socket.h')
-rw-r--r--src/common/socket.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/common/socket.h b/src/common/socket.h
index a040772a9..a7734963a 100644
--- a/src/common/socket.h
+++ b/src/common/socket.h
@@ -143,10 +143,11 @@ extern int naddr_; // # of ip addresses
void set_eof(int fd);
/// Use a shortlist of sockets instead of iterating all sessions for sockets
-/// that have data to send or need eof processing.
+/// that have data to send or need eof handling.
+/// Adapted to use a static array instead of a linked list.
///
/// @author Buuyo-tama
-//#define SEND_SHORTLIST
+#define SEND_SHORTLIST
#ifdef SEND_SHORTLIST
struct send_shortlist_node {