comparison OrthancServer/Sources/ServerContext.cpp @ 5442:ac68a4383e51 debug-telemis

improved C-Store negotiation and logging
author Alain Mazy <am@osimis.io>
date Thu, 23 Nov 2023 16:59:16 +0100
parents 7a20ee948676
children 9ffd6d18daf3
comparison
equal deleted inserted replaced
5440:99fa307438e1 5442:ac68a4383e51
1956 1956
1957 if (!transcodeDicomProtocol_ || 1957 if (!transcodeDicomProtocol_ ||
1958 !modality.IsTranscodingAllowed()) 1958 !modality.IsTranscodingAllowed())
1959 { 1959 {
1960 connection.Store(sopClassUid, sopInstanceUid, data, dicom.size(), 1960 connection.Store(sopClassUid, sopInstanceUid, data, dicom.size(),
1961 hasMoveOriginator, moveOriginatorAet, moveOriginatorId, modality.IsAlwaysRenegotiate()); 1961 hasMoveOriginator, moveOriginatorAet, moveOriginatorId);
1962 } 1962 }
1963 else 1963 else
1964 { 1964 {
1965 connection.Transcode(sopClassUid, sopInstanceUid, *this, data, dicom.size(), preferredTransferSyntax_, 1965 connection.Transcode(sopClassUid, sopInstanceUid, *this, data, dicom.size(), preferredTransferSyntax_,
1966 hasMoveOriginator, moveOriginatorAet, moveOriginatorId, modality.IsAlwaysRenegotiate()); 1966 hasMoveOriginator, moveOriginatorAet, moveOriginatorId);
1967 } 1967 }
1968 } 1968 }
1969 1969
1970 1970
1971 bool ServerContext::TranscodeWithCache(std::string& target, 1971 bool ServerContext::TranscodeWithCache(std::string& target,