[Git][java-team/mina2][master] 2 commits: Add patch to no longer set SO_SNDBUF (Closes: #986866)

Tony Mancill gitlab at salsa.debian.org
Sun May 2 17:11:24 BST 2021



Tony Mancill pushed to branch master at Debian Java Maintainers / mina2


Commits:
eab3e3cf by tony mancill at 2021-05-02T08:33:03-07:00
Add patch to no longer set SO_SNDBUF (Closes: #986866)

- - - - -
33dc8f1a by tony mancill at 2021-05-02T09:10:55-07:00
interim changelog

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/SO_SNDBUF.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+mina2 (2.1.4-2) UNRELEASED; urgency=medium
+
+  * Team upload.
+  * Add patch to no longer set SO_SNDBUF (Closes: #986866)
+
+ -- tony mancill <tmancill at debian.org>  Sun, 02 May 2021 08:33:21 -0700
+
 mina2 (2.1.4-1) unstable; urgency=medium
 
   * Team upload.


=====================================
debian/patches/SO_SNDBUF.patch
=====================================
@@ -0,0 +1,22 @@
+Description: no longer attempt to set SO_SNDBUF in NioSocketAcceptor
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=986866
+Author: tony mancill <tmancill at debian.org>
+Last-Update: 2021-05-02
+Forwarded: no
+
+--- a/src/mina-core/src/main/java/org/apache/mina/transport/socket/nio/NioSocketAcceptor.java
++++ b/src/mina-core/src/main/java/org/apache/mina/transport/socket/nio/NioSocketAcceptor.java
+@@ -251,9 +251,10 @@
+             socket.setReuseAddress(isReuseAddress());
+             
+             // Set the SND BUFF
+-	    if (config.getSendBufferSize() != -1) {
+-		channel.setOption(StandardSocketOptions.SO_SNDBUF, config.getSendBufferSize());
+-	    }
++            // disabled - see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=986866
++	    //if (config.getSendBufferSize() != -1) {
++		//channel.setOption(StandardSocketOptions.SO_SNDBUF, config.getSendBufferSize());
++	    //}
+ 
+ 	    // Set the RCV BUFF
+ 	    if (config.getReceiveBufferSize() != -1) {


=====================================
debian/patches/series
=====================================
@@ -2,3 +2,4 @@ xbean-plugin-version.patch
 03-easymock-compatibility.patch
 05-spring-dependency.patch
 maven-bundle-plugin.patch
+SO_SNDBUF.patch



View it on GitLab: https://salsa.debian.org/java-team/mina2/-/compare/ed23fe94e3a7b4ec49e2db76a29ef4cb8007d43f...33dc8f1a5323dbb2198fdf0a454f1f8ef6cb8c6a

-- 
View it on GitLab: https://salsa.debian.org/java-team/mina2/-/compare/ed23fe94e3a7b4ec49e2db76a29ef4cb8007d43f...33dc8f1a5323dbb2198fdf0a454f1f8ef6cb8c6a
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-commits/attachments/20210502/3c0e5412/attachment.htm>


More information about the pkg-java-commits mailing list