Mercurial > hg > orthanc
annotate Resources/Patches/dcmtk-3.6.2-speed.patch @ 2338:86a99fd1bbfb
switch to just-released dcmtk 3.6.2
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 17 Jul 2017 18:49:45 +0200 |
parents | |
children |
rev | line source |
---|---|
2338
86a99fd1bbfb
switch to just-released dcmtk 3.6.2
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
1 diff -urEb dcmtk-3.6.2.orig/dcmnet/libsrc/dul.cc dcmtk-3.6.2/dcmnet/libsrc/dul.cc |
86a99fd1bbfb
switch to just-released dcmtk 3.6.2
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
2 --- dcmtk-3.6.2.orig/dcmnet/libsrc/dul.cc 2017-07-17 17:54:10.406140454 +0200 |
86a99fd1bbfb
switch to just-released dcmtk 3.6.2
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
3 +++ dcmtk-3.6.2/dcmnet/libsrc/dul.cc 2017-07-17 17:54:48.681341404 +0200 |
86a99fd1bbfb
switch to just-released dcmtk 3.6.2
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
4 @@ -1862,7 +1862,7 @@ |
86a99fd1bbfb
switch to just-released dcmtk 3.6.2
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
5 msg += OFStandard::getLastNetworkErrorCode().message(); |
86a99fd1bbfb
switch to just-released dcmtk 3.6.2
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
6 return makeDcmnetCondition(DULC_TCPINITERROR, OF_error, msg.c_str()); |
86a99fd1bbfb
switch to just-released dcmtk 3.6.2
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
7 } |
86a99fd1bbfb
switch to just-released dcmtk 3.6.2
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
8 - setTCPBufferLength(sock); |
86a99fd1bbfb
switch to just-released dcmtk 3.6.2
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
9 + //setTCPBufferLength(sock); |
86a99fd1bbfb
switch to just-released dcmtk 3.6.2
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
10 |
86a99fd1bbfb
switch to just-released dcmtk 3.6.2
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
11 /* |
86a99fd1bbfb
switch to just-released dcmtk 3.6.2
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
12 * Disable the so-called Nagle algorithm (if requested). |
86a99fd1bbfb
switch to just-released dcmtk 3.6.2
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
13 diff -urEb dcmtk-3.6.2.orig/dcmnet/libsrc/dulfsm.cc dcmtk-3.6.2/dcmnet/libsrc/dulfsm.cc |
86a99fd1bbfb
switch to just-released dcmtk 3.6.2
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
14 --- dcmtk-3.6.2.orig/dcmnet/libsrc/dulfsm.cc 2017-07-17 17:54:10.406140454 +0200 |
86a99fd1bbfb
switch to just-released dcmtk 3.6.2
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
15 +++ dcmtk-3.6.2/dcmnet/libsrc/dulfsm.cc 2017-07-17 17:55:04.122634664 +0200 |
86a99fd1bbfb
switch to just-released dcmtk 3.6.2
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
16 @@ -2447,7 +2447,7 @@ |
86a99fd1bbfb
switch to just-released dcmtk 3.6.2
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
17 msg += OFStandard::getLastNetworkErrorCode().message(); |
86a99fd1bbfb
switch to just-released dcmtk 3.6.2
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
18 return makeDcmnetCondition(DULC_TCPINITERROR, OF_error, msg.c_str()); |
86a99fd1bbfb
switch to just-released dcmtk 3.6.2
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
19 } |
86a99fd1bbfb
switch to just-released dcmtk 3.6.2
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
20 - setTCPBufferLength(s); |
86a99fd1bbfb
switch to just-released dcmtk 3.6.2
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
21 + //setTCPBufferLength(s); |
86a99fd1bbfb
switch to just-released dcmtk 3.6.2
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
22 |
86a99fd1bbfb
switch to just-released dcmtk 3.6.2
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
23 /* |
86a99fd1bbfb
switch to just-released dcmtk 3.6.2
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
24 * Disable the so-called Nagle algorithm (if requested). |