Attention is currently required from: Arne Schwabe.
Hello Arne Schwabe,
I'd like you to do a code review.
Please visit
https://gerrit.openvpn.net/c/openvpn/+/2044?usp=email
to review the following change.
Change subject: multi_io: drop the read cases from multi_io_wait_lite()
......................................................................
multi_io: drop the read cases from multi_io_wait_lite()
multi_io_action() only polls before writes: reads are dispatched with
poll false, both from the event loop and when chaining a tun read
after a write. The TA_TUN_READ and TA_SOCKET_READ cases of
multi_io_wait_lite() are never reached.
Change-Id: I1abb10515665e1d6351689d2c2dd9d4aba8bb98e
Signed-off-by: Gianmarco De Gregori <[email protected]>
---
M src/openvpn/multi_io.c
1 file changed, 0 insertions(+), 12 deletions(-)
git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/44/2044/1
diff --git a/src/openvpn/multi_io.c b/src/openvpn/multi_io.c
index ac730b4..56216d4 100644
--- a/src/openvpn/multi_io.c
+++ b/src/openvpn/multi_io.c
@@ -235,18 +235,6 @@
switch (action)
{
- case TA_TUN_READ:
- looking_for = TUN_READ;
- tun_input_pending = NULL;
- io_wait(c, IOW_READ_TUN);
- break;
-
- case TA_SOCKET_READ:
- looking_for = SOCKET_READ;
- tun_input_pending = NULL;
- io_wait(c, IOW_READ_LINK);
- break;
-
case TA_TUN_WRITE:
looking_for = TUN_WRITE;
tun_input_pending = NULL;
--
To view, visit https://gerrit.openvpn.net/c/openvpn/+/2044?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.openvpn.net/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I1abb10515665e1d6351689d2c2dd9d4aba8bb98e
Gerrit-Change-Number: 2044
Gerrit-PatchSet: 1
Gerrit-Owner: Gianmarco De Gregori <[email protected]>
Gerrit-Reviewer: Arne Schwabe <[email protected]>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: Arne Schwabe <[email protected]>
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel