File: 05_performance.patch

package info (click to toggle)
dcmtk 3.6.4-2.1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 54,480 kB
  • sloc: cpp: 271,774; ansic: 47,307; makefile: 5,280; sh: 4,318; perl: 850; xml: 182; lex: 103
file content (27 lines) | stat: -rw-r--r-- 958 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Description: Fix a DCMTK performance problem
 Forwarded-Upstream: yes
Bug-Debian: https://bugs.debian.org/785400
Author: Sebastien Jodogne <s.jodogne@chu.ulg.ac.be>
Last-Update: Fri, 15 May 2015 16:39:01 UTC
--- a/dcmnet/libsrc/dul.cc
+++ b/dcmnet/libsrc/dul.cc
@@ -1916,7 +1916,7 @@
         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).
--- a/dcmnet/libsrc/dulfsm.cc
+++ b/dcmnet/libsrc/dulfsm.cc
@@ -2476,7 +2476,7 @@
           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).