mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-02 02:35:31 +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
|
# TODO
|
||||||
|
|
||||||
## aquatic_ws
|
## 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
|
* add sensible logging method, maybe stderrlog with quiet as default
|
||||||
|
|
||||||
## aquatic_udp
|
## aquatic_udp
|
||||||
|
|
|
||||||
|
|
@ -97,7 +97,7 @@ pub fn run_poll_loop(
|
||||||
valid_until,
|
valid_until,
|
||||||
&mut poll_token_counter,
|
&mut poll_token_counter,
|
||||||
);
|
);
|
||||||
} else if event.is_readable(){
|
} else {
|
||||||
run_handshakes_and_read_messages(
|
run_handshakes_and_read_messages(
|
||||||
socket_worker_index,
|
socket_worker_index,
|
||||||
&in_message_sender,
|
&in_message_sender,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue