Drop the MAX_CONNS macro and define TCP_CONNECTION_LIMIT, TCP_POLL_CAPACITY, TCP_EVENT_CAPACITY instead

This commit is contained in:
2025-11-22 22:59:32 +01:00
parent 582893be70
commit e1fa3729c6
10 changed files with 54 additions and 31 deletions
+3 -2
View File
@@ -188,8 +188,9 @@ void toasty_free_result(ToastyResult *result);
// OTHER
//////////////////////////////////////////////////////////////////////////////////
// This is a hook for the simulation testing framework.
// You shouldn't need to use this.
#define TOASTY_POLL_CAPACITY 514
// TODO: comment
int toasty_process_events(ToastyFS *toasty, void **contexts,
struct pollfd *polled, int num_polled);