dcm4che / dcm4chee-arc-light

DICOM Archive J2EE application
440 stars 243 forks source link

QIDO RS : Reject broad queries if query count exceeds configured `Query Max Number of Results` #4487

Closed vrindanayak closed 7 months ago

vrindanayak commented 7 months ago

Rationale : Without usage of any query filters, invocation of broad QIDO-RS queries can lead to long-running SQL queries on DB in very large installations.

Reject QIDO-RS services :

broad queries with 413 - Request Entity Too Large http error response if query count exceeds configured Query Max Number Of Results

See DICOM PS3.18 2024b - Web Services - Studies Service and Resources - Search Transaction - Response - Status Codes

vrindanayak commented 7 months ago

image

vrindanayak commented 7 months ago

Last commit breaks QIDO-RS for Search MWLs / UWLs / MPPS