From: "stipa (Code Review)" Date: Tue, 21 Oct 2025 07:00:17 +0000 In-Reply-To: References: Reply-To: lstipakov@...277..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net, ralf@...2726..., frank@...2641... Message-ID: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="OlbaOrsVF2k="; charset=UTF-8 Subject: [Openvpn-devel] [M] Change in openvpn[master]: management: ensure consistent BYTECOUNT timing on server List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: ralf_lici Cc: plaisthos , flichtenheld , openvpn-devel --OlbaOrsVF2k= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: flichtenheld, plaisthos, ralf_lici. stipa has posted comments on this change by ralf_lici. ( http://gerrit.open= vpn.net/c/openvpn/+/1285?usp=3Demail ) Change subject: management: ensure consistent BYTECOUNT timing on server ...................................................................... Patch Set 2: Code-Review+2 (1 comment) Patchset: PS2: LGTM. The previous implementation triggered BYTECOUNT callback at most ever= y 10 seconds, even with a smaller interval - this is due to instance reaper= timeout being set to 10 secs, and we haven't checked BYTECOUNT timeout aga= inst any timeval instance. This checks BYTECOUNT timeout expiration against multi->top.c2.timeval, the= one used by multi_io_wait, which means that any interval will now work. Tested on Windows server setup. -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/1285?usp=3Demail To unsubscribe, or for help writing mail filters, visit http://gerrit.openv= pn.net/settings?usp=3Demail Gerrit-MessageType: comment Gerrit-Project: openvpn Gerrit-Branch: master Gerrit-Change-Id: Ifb1c49fce75e671f699f5db5f6da7246f6e0b519 Gerrit-Change-Number: 1285 Gerrit-PatchSet: 2 Gerrit-Owner: ralf_lici Gerrit-Reviewer: flichtenheld Gerrit-Reviewer: plaisthos Gerrit-Reviewer: stipa Gerrit-CC: openvpn-devel Gerrit-Attention: plaisthos Gerrit-Attention: flichtenheld Gerrit-Attention: ralf_lici Gerrit-Comment-Date: Tue, 21 Oct 2025 07:00:17 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: Yes --OlbaOrsVF2k= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is cur= rently required from: flichtenheld, plaisthos, ralf_lici.

Patch set 2:Code-Review +2=

V= iew Change

1 comment:

  • Patchset:

    • Patch Set #2:

      LGTM. The p= revious implementation triggered BYTECOUNT callback at most every 10 second= s, even with a smaller interval - this is due to instance reaper timeout be= ing set to 10 secs, and we haven't checked BYTECOUNT timeout against an= y timeval instance.

      This checks BYTECOUNT timeout expiration against mu= lti->top.c2.timeval, the one used by multi_io_wait, which means that any= interval will now work.

      Tested on Windows server setup.

    <= /li>

To view, visit change 1285. To unsubscribe, or for help writing mai= l filters, visit settings.

Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ifb1c49fce75e671f699f5db5f6d= a7246f6e0b519
Gerrit-Change-Number: 1285
Gerrit-PatchSet: 2
Gerrit-Owner: ralf_lici <ralf@...2726...>= ;
Gerrit-Reviewer: flichtenheld <frank@...2716...= 1...>
Gerrit-Reviewer: plaisthos <arne-openvpn@...1186...= .1227...>
Gerrit-Reviewer: stipa <lstipakov@...277...= >
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
Gerrit-Attention: plaisthos <arne-openvpn@...220...= ..1227...>
Gerrit-Attention: flichtenheld <frank@...2375...= 41...>
Gerrit-Attention: ralf_lici <ralf@...2804...= .>
Gerrit-Comment-Date: Tue, 21 Oct 2025 07:00:17= +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
= --OlbaOrsVF2k=--