We're updating the issue view to help you get more done. 

The max_response_size limit is not working. Why? Fix!

Description

Based on the BES context max_response_size being set to 100 (kilobytes) this request should be rejected:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 <?xml version="1.0" encoding="UTF-8"?> <bes:request xmlns:bes="http://xml.opendap.org/ns/bes/1.0#" reqID="[thread:http-nio-8080-exec-1-42][bes_client:/-0]"> <bes:setContext name="bes_timeout">300</bes:setContext> <bes:setContext name="xdap_accept">2.0</bes:setContext> <bes:setContext name="dap_explicit_containers">no</bes:setContext> <bes:setContext name="errors">xml</bes:setContext> <bes:setContext name="max_response_size">100</bes:setContext> <bes:setContainer name="catalogContainer" space="catalog">/data/nc/coads_climatology.nc</bes:setContainer> <bes:define name="d1" space="default"> <bes:container name="catalogContainer"> <bes:constraint>AIRT</bes:constraint> </bes:container> </bes:define> <bes:get type="dods" definition="d1" /> </bes:request>

But it is not. Why? Can we fix it?

Environment

None

Status

Assignee

James Gallagher

Reporter

Nathan Potter

Labels

Fix versions

Story Points

None

Affects versions

Hyrax 1.15.4

Time tracking

8h

Epic Link

Priority

Highest