Eliminate next pointer from connection_t, turn connections into a std::list

This commit is contained in:
ridiculousfish
2013-02-16 00:32:15 -08:00
parent 6d522e6ed6
commit b682c4102e
4 changed files with 45 additions and 61 deletions

View File

@@ -931,12 +931,11 @@ void enqueue_all(connection_t *c)
try_send_all(c);
}
connection_t::connection_t(const int input_fd) :
connection_t::connection_t(int input_fd) :
fd(input_fd),
killme(false),
buffer_consumed(0),
buffer_used(0),
next(NULL)
buffer_used(0)
{
}