JSON response is getting truncated in JBOSS EAP 7.4
When I hit my server url, my json response is getting truncated. This issue only came into existence when I updated to JBOSS EAP 7.4 from JBOSS EAP 7.2. When I am debugging my code on my ide, I see the response is good, but as soon as it reaches client, it is truncated. One more thing truncation only happens nodeData field is empty.
I have made some progress, I have java httpFilter which is compressing the bytes into and setting content encoding to gzip.
If I set my content encoding to any other type such as "br", "identity", then I am getting full response.
These are my response headers:-
Content-Encoding: gzip
Content-Length: 78
Content-Type: text/html;charset=UTF-8
Date: Tue, 30 Apr 2024 08:43:47 GMT
Response:
{ "status" : "OK" ,"lastModifiedStamp":"1713954485629","no
Expected response from server:
{ "status" : "OK" ,"lastModifiedStamp":"1713954485629","nodeData":[]}