Skip to content

Commit

Permalink
Finish removal of CONN_SENDING state
Browse files Browse the repository at this point in the history
  • Loading branch information
hamishcoleman committed Dec 16, 2024
1 parent 021d831 commit 73d198a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion libs/connslot/connslot.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ enum __attribute__((__packed__)) conn_state {
CONN_EMPTY = 0,
CONN_READING = 1,
CONN_READY = 2,
CONN_SENDING = 3,
CONN_CLOSED = 4,
CONN_ERROR = 5,
};
Expand Down
2 changes: 0 additions & 2 deletions src/mainloop.c
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,6 @@ static void handle_fd (const time_t now, const struct fd_info info, struct n3n_r
switch(conn->state) {
case CONN_EMPTY:
case CONN_READING:
case CONN_SENDING:
// These states dont require us to do anything
// TODO:
// - handle reading/sending simultaneous?
Expand Down Expand Up @@ -406,7 +405,6 @@ static void handle_fd (const time_t now, const struct fd_info info, struct n3n_r
switch(conn->state) {
case CONN_EMPTY:
case CONN_READING:
case CONN_SENDING:
// These states dont require us to do anything
// TODO:
// - handle reading/sending simultaneous?
Expand Down

0 comments on commit 73d198a

Please sign in to comment.