Mercurial > hg > orthanc
comparison OrthancFramework/Sources/DicomNetworking/DicomServer.h @ 4451:f4dbdb2dcba6
new configuration option "MaximumPduLength" to tune the maximum PDU length
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 18 Jan 2021 14:51:52 +0100 |
parents | 5209a9ff6e38 |
children | 82a314325351 |
comparison
equal
deleted
inserted
replaced
4450:9bf2f9e0af47 | 4451:f4dbdb2dcba6 |
---|---|
84 // New in Orthanc 1.9.0 for DICOM TLS | 84 // New in Orthanc 1.9.0 for DICOM TLS |
85 bool useDicomTls_; | 85 bool useDicomTls_; |
86 std::string ownPrivateKeyPath_; | 86 std::string ownPrivateKeyPath_; |
87 std::string ownCertificatePath_; | 87 std::string ownCertificatePath_; |
88 std::string trustedCertificatesPath_; | 88 std::string trustedCertificatesPath_; |
89 unsigned int maximumPduLength_; | |
89 | 90 |
90 static void ServerThread(DicomServer* server, | 91 static void ServerThread(DicomServer* server, |
92 unsigned int maximumPduLength, | |
91 bool useDicomTls); | 93 bool useDicomTls); |
92 | 94 |
93 public: | 95 public: |
94 DicomServer(); | 96 DicomServer(); |
95 | 97 |
152 const std::string& GetOwnPrivateKeyPath() const; | 154 const std::string& GetOwnPrivateKeyPath() const; |
153 const std::string& GetOwnCertificatePath() const; | 155 const std::string& GetOwnCertificatePath() const; |
154 | 156 |
155 void SetTrustedCertificatesPath(const std::string& path); | 157 void SetTrustedCertificatesPath(const std::string& path); |
156 const std::string& GetTrustedCertificatesPath() const; | 158 const std::string& GetTrustedCertificatesPath() const; |
159 | |
160 unsigned int GetMaximumPduLength() const; | |
161 void SetMaximumPduLength(unsigned int pdu); | |
157 }; | 162 }; |
158 | |
159 } | 163 } |