From: "flichtenheld (Code Review)" Date: Mon, 4 Sep 2023 14:39:24 +0000 In-Reply-To: References: Reply-To: frank@...2641..., openvpn-devel@lists.sourceforge.net, lstipakov@...277... Message-ID: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="wYQI21UX9cM="; charset=UTF-8 Subject: [Openvpn-devel] [XS] Change in openvpn[release/2.6]: Support for long INFO/INFO_PRE messages List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: stipa Cc: openvpn-devel --wYQI21UX9cM= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: stipa. flichtenheld has posted comments on this change. ( http://gerrit.openvpn.ne= t/c/openvpn/+/327?usp=3Demail ) Change subject: Support for long INFO/INFO_PRE messages ...................................................................... Patch Set 1: Code-Review+1 (3 comments) Commit Message: http://gerrit.openvpn.net/c/openvpn/+/327/comment/90da86d9_5dc75b60 : PS1, Line 10: the server (CloudConnexa) sends the longer string in some cas= es. "sends the longer string" -> "sends longer messages" Patchset: PS1: looks technically okay File src/openvpn/push.c: http://gerrit.openvpn.net/c/openvpn/+/327/comment/cf2407e8_9d3632ee : PS1, Line 246: struct buffer out =3D alloc_buf_gc(1 + 7 + 1 + BLEN(= &buf) + 1, &gc); "1 + 7 + 1" -> strlen(">INFOMSG:") might even move the ">INFOMSG:" into a preprocessor define and then reuse i= t. -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/327?usp=3Demail To unsubscribe, or for help writing mail filters, visit http://gerrit.openv= pn.net/settings Gerrit-Project: openvpn Gerrit-Branch: release/2.6 Gerrit-Change-Id: I2139b62117ba69d643b585d2610e8aef15f71d3e Gerrit-Change-Number: 327 Gerrit-PatchSet: 1 Gerrit-Owner: stipa Gerrit-Reviewer: flichtenheld Gerrit-CC: openvpn-devel Gerrit-Attention: stipa Gerrit-Comment-Date: Mon, 04 Sep 2023 14:39:24 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: Yes Gerrit-MessageType: comment --wYQI21UX9cM= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is currently required from: stipa.

Patch set 1:Code-Review +1=

Vi= ew Change

3 comments:

  • Commit Message:

    • Patch Set #1, Line 10: the server (CloudConnexa) sends th= e longer string in some cases.

      "sends the longer string" -> "se= nds longer messages"

  • Patchset:

  • File src/openvpn/push.c:

      Patch Set #1, Line 246: struct buffer out =3D alloc_buf_gc(1 + 7 + 1 + BLEN(&bu= f) + 1, &gc);

      "1 + 7 + 1" -> strlen(">INFOMSG:")might even move the ">INFOMSG:" into a preprocessor define an= d then reuse it.

To view, visit change 327. To unsubsc= ribe, or for help writing mail filters, visit settings.

Gerrit-Project: openvpn
Gerrit-Branch: release/2.6
Gerrit-Change-Id: I2139b62117ba69d643b585d2610= e8aef15f71d3e
Gerrit-Change-Number: 327
Gerrit-PatchSet: 1
Gerrit-Owner: stipa <lstipakov@...277...>= ;
Gerrit-Reviewer: flichtenheld <frank@...2716...= 1...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
Gerrit-Attention: stipa <lstipakov@...1663...= .>
Gerrit-Comment-Date: Mon, 04 Sep 2023 14:39:24= +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
--wYQI21UX9cM=--