Fix assertions in StompHeaderAccessor [SPR-14625] #19192
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
status: backported
An issue that has been backported to maintenance branches
type: bug
A general bug
Milestone
Christoph Dreis opened SPR-14625 and commented
Hey,
while looking into #19191 I noticed another case of unnecessary and rather costly string concatenations. Not as severe as in #19191 but with a factor of 8 it still has an effect. Applications that send a lot of websocket messages could benefit from this as it eases the pressure on the heap.
I used traditional if statements instead of the supplier functionality in Assert in order to be able to backport it to 4.3.x or even 4.2.x - much like the fixes for #19191.
Cheers
Affects: 4.2.7, 4.3.2
Reference URL: #1139
Issue Links:
Backported to: 4.2.8
The text was updated successfully, but these errors were encountered: