Gert Doering has submitted this change. ( https://gerrit.openvpn.net/c/openvpn/+/2044?usp=email )
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]> Acked-by: Razvan Cojocaru <[email protected]> Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/2044 Message-Id: <[email protected]> URL: https://www.mail-archive.com/[email protected]/msg40196.html Signed-off-by: Gert Doering <[email protected]> --- M src/openvpn/multi_io.c 1 file changed, 0 insertions(+), 12 deletions(-) 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: merged Gerrit-Project: openvpn Gerrit-Branch: master Gerrit-Change-Id: I1abb10515665e1d6351689d2c2dd9d4aba8bb98e Gerrit-Change-Number: 2044 Gerrit-PatchSet: 2 Gerrit-Owner: Gianmarco De Gregori <[email protected]> Gerrit-Reviewer: Arne Schwabe <[email protected]> Gerrit-Reviewer: Răzvan Cojocaru <[email protected]> Gerrit-CC: openvpn-devel <[email protected]>
_______________________________________________ Openvpn-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openvpn-devel
