mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +00:00
aquatic_ws: polling: don't check if event readable
We only register interest in readable events so this should be OK
This commit is contained in:
parent
b571f2d8fd
commit
7c33358254
2 changed files with 1 additions and 3 deletions
2
TODO.md
2
TODO.md
|
|
@ -1,8 +1,6 @@
|
|||
# TODO
|
||||
|
||||
## aquatic_ws
|
||||
* is it even necessary to check if event is readable in poll, since that
|
||||
is all we're listening for?
|
||||
* add sensible logging method, maybe stderrlog with quiet as default
|
||||
|
||||
## aquatic_udp
|
||||
|
|
|
|||
|
|
@ -97,7 +97,7 @@ pub fn run_poll_loop(
|
|||
valid_until,
|
||||
&mut poll_token_counter,
|
||||
);
|
||||
} else if event.is_readable(){
|
||||
} else {
|
||||
run_handshakes_and_read_messages(
|
||||
socket_worker_index,
|
||||
&in_message_sender,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue