diff --git a/src/host.c b/src/host.c index 29b9f96c..89ecc5eb 100644 --- a/src/host.c +++ b/src/host.c @@ -8,6 +8,16 @@ #include "buddy.h" #include "atomic.h" +/* TODO: + * + * Rate limiting. + * + * Resequence buffer to order incoming sequenced packets. + * + * Rolling window for message reassembly. + * This would remove the need for random access message buffers. + */ + #define PACKET_MAGIC 0xd9e3b8b6 #define PACKET_MSG_CHUNK_MAX_LEN 1024 #define PACKET_DATA_MAX_LEN 1280 /* Give enough space for msg chunk + header */ diff --git a/src/user.c b/src/user.c index c5ecf753..17f7cc7e 100644 --- a/src/user.c +++ b/src/user.c @@ -1514,7 +1514,6 @@ INTERNAL void user_update(void) } } - /* ---------------------------------------------------------------------- */ /* ---------------------------------------------------------------------- */