Fix a DCMTK performance problem
authorSebastien Jodogne <s.jodogne@chu.ulg.ac.be>
Tue, 10 Nov 2020 14:08:59 +0000 (15:08 +0100)
committerGert Wollny <gewo@debian.org>
Tue, 10 Nov 2020 14:08:59 +0000 (15:08 +0100)
Bug-Debian: https://bugs.debian.org/785400
Last-Update: Fri, 15 May 2015 16:39:01 UTC

Forwarded-Upstream: yes

Gbp-Pq: Name 05_performance.patch

dcmnet/libsrc/dul.cc
dcmnet/libsrc/dulfsm.cc

index 526fe60fbbd661585f86cec84e36799896c37562..aef8be3be343d04700e1c5c33c8fca9ae8df4d60 100644 (file)
@@ -1913,7 +1913,7 @@ receiveTransportConnectionTCP(PRIVATE_NETWORKKEY ** network,
         msg += OFStandard::getLastNetworkErrorCode().message();
         return makeDcmnetCondition(DULC_TCPINITERROR, OF_error, msg.c_str());
     }
-    setTCPBufferLength(sock);
+    //setTCPBufferLength(sock);
 
     /*
      * Disable the so-called Nagle algorithm (if requested).
index e3facda6482a504945ab760f8b6bc49a4f9f9ae4..d8729179d64acda7616b295592a41b214aed5090 100644 (file)
@@ -2476,7 +2476,7 @@ requestAssociationTCP(PRIVATE_NETWORKKEY ** network,
           msg += OFStandard::getLastNetworkErrorCode().message();
           return makeDcmnetCondition(DULC_TCPINITERROR, OF_error, msg.c_str());
         }
-        setTCPBufferLength(s);
+        //setTCPBufferLength(s);
 
         /*
          * Disable the so-called Nagle algorithm (if requested).