coheigea opened a new pull request, #3789: URL: https://github.com/apache/cxf/pull/3789
When duplicate message IDs are rejected (allowDuplicates=false), DefaultMessageIdCache stored every wsa:MessageID it saw, in full and forever. Message IDs are only limited by the XML text length limit, so a stream of messages with large, unique message IDs could fill the heap. Store a SHA-256 digest of each message ID instead of the ID itself, and hold at most 100000 IDs by default, forgetting the oldest ones once the cache is full. The maximum can be set with the new constructor. When a duplicate is found, the message ID was also copied in full into the warning log and the SOAP fault reason. Truncate it to 256 characters there. -- 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]
