smolnar82 opened a new pull request, #1101:
URL: https://github.com/apache/knox/pull/1101

   [KNOX-3035](https://issues.apache.org/jira/browse/KNOX-3035) - Group header 
value should be based on data size and not number
   
   ## What changes were proposed in this pull request?
   
   Until now, the `KNOX-AUTH` service and the configurable dispatch code 
supported the partitioning of optional group headers in the response by length.
   This PR adds support for size-based partitioning in a way, such that it 
takes precedense of the already supported length-based chunks, if the 
size-based configuration is set to a non-negative value.
   
   New configuration:
   - in the `KNOX-AUTH` service: `preauth.auth.header.groups.size.limit`. 
Defaults to `-1` to preserve backward compatibility with previous Knox versions.
   - in the service dispatches: `groupHeaderSizeLimit`. Defaults to `-1` to 
preserve backward compatibility with previous Knox versions.
   
   ## How was this patch tested?
   
   Updated existing unit tests and added new tests for the new utility class to 
cover all cases and ensure that partitioning works as expected.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to