Open
Description
I ran the command below and saw that the response payload was missing in my log file. When I wrote to Kafka for testing purposes, the result did not change. It cuts off the response. Increasing the buffer size did not change the result.
sudo ./gor --input-raw :8072 --output-file requests25.log --input-raw-track-response --input-raw-realip-header X-Real-IP --input-raw-buffer-size 3048576 --output-http-response-buffer 3048576 --input-raw-allow-incomplete true --input-raw-override-snaplen
1 7b111f88d440ca8d4ef1832c 1719312363823048450 0
GET /api/v3/pet/findByStatus?status=available HTTP/1.1
X-Real-IP: 212.64.202.141
Accept-Language: en-US,en;q=0.9,tr-TR;q=0.8,tr;q=0.7
Cache-Control: no-cache
Connection: keep-alive
Pragma: no-cache
Referer: http://4.233.221.58:8072/
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36
accept: application/xml
Postman-Token: 1d04dc96-ad64-48aa-b45b-5440b6b968bf
Host: 4.233.220.96:8072
Accept-Encoding: gzip, deflate, br
🐵🙈🙉
2 7b111f88d440ca8d4ef1832c 1719312363826198290 0
HTTP/1.1 200 OK
Date: Tue, 25 Jun 2024 10:46:03 GMT
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: GET, POST, DELETE, PUT
Access-Control-Allow-Headers: Content-Type, api_key, Authorization
Access-Control-Expose-Headers: Content-Disposition
Content-Type: application/xml
Content-Length: 1975
Server: Jetty(9.4.9.v20180320)
<ArrayList><item><id>1</id><category><id>2</id><name>Cats</name></category><name>Cat 1</name><photoUrls><photoUrl>url1</photoUrl><photoUrl>url2</photoUrl></photoUrls><tags><tag><id>1</id><name>tag1</name></tag><tag><id>2</id><name>tag2</name></tag></tags><status>available</status></item><item><id>2</id><category><id>2</id><name>Cats</name></category><name>Cat 2</name><photoUrls><photoUrl>url1</photoUrl><photoUrl>url2</photoUrl></photoUrls><tags><tag><id>1</id><name>tag2</name></tag><tag><id>2</id><name>tag3</name></tag></tags><status>available</status></item><item><id>4</id><category><id>1</id><name>Dogs</name></category><name>Dog 1</name><photoUrls><photoUrl>url1</photoUrl><photoUrl>url2</photoUrl></photoUrls><tags><tag><id>1</id><name>tag1</name></tag><tag><id>2</id><name>tag2</name></tag></tags><status>available</status></item><item><id>7</id><category><id>4</id><name>Lions</name></category><name>Lion 1</name><photoUrls><photoUrl>url1</photoUrl><photoUrl>url2</photoUrl></photoUrls><tags><tag><id>1</id><name>tag1</name></tag><tag><id>2</id><name>tag2</name></tag></tags><status>available</status></item><item><id>8</id><category><id>4</id><name>Lions</name></category><name>Lion 2</name><photoUrls><photoUrl>url1</photoUrl><photoUrl>url2</photoUrl></photoUrls><tags><ta
🐵🙈🙉
The real response is as follows:
<ArrayList>
<item>
<id>1</id>
<category>
<id>2</id>
<name>Cats</name>
</category>
<name>Cat 1</name>
<photoUrls>
<photoUrl>url1</photoUrl>
<photoUrl>url2</photoUrl>
</photoUrls>
<tags>
<tag>
<id>1</id>
<name>tag1</name>
</tag>
<tag>
<id>2</id>
<name>tag2</name>
</tag>
</tags>
<status>available</status>
</item>
<item>
<id>2</id>
<category>
<id>2</id>
<name>Cats</name>
</category>
<name>Cat 2</name>
<photoUrls>
<photoUrl>url1</photoUrl>
<photoUrl>url2</photoUrl>
</photoUrls>
<tags>
<tag>
<id>1</id>
<name>tag2</name>
</tag>
<tag>
<id>2</id>
<name>tag3</name>
</tag>
</tags>
<status>available</status>
</item>
<item>
<id>4</id>
<category>
<id>1</id>
<name>Dogs</name>
</category>
<name>Dog 1</name>
<photoUrls>
<photoUrl>url1</photoUrl>
<photoUrl>url2</photoUrl>
</photoUrls>
<tags>
<tag>
<id>1</id>
<name>tag1</name>
</tag>
<tag>
<id>2</id>
<name>tag2</name>
</tag>
</tags>
<status>available</status>
</item>
<item>
<id>7</id>
<category>
<id>4</id>
<name>Lions</name>
</category>
<name>Lion 1</name>
<photoUrls>
<photoUrl>url1</photoUrl>
<photoUrl>url2</photoUrl>
</photoUrls>
<tags>
<tag>
<id>1</id>
<name>tag1</name>
</tag>
<tag>
<id>2</id>
<name>tag2</name>
</tag>
</tags>
<status>available</status>
</item>
<item>
<id>8</id>
<category>
<id>4</id>
<name>Lions</name>
</category>
<name>Lion 2</name>
<photoUrls>
<photoUrl>url1</photoUrl>
<photoUrl>url2</photoUrl>
</photoUrls>
<tags>
<tag>
<id>1</id>
<name>tag2</name>
</tag>
<tag>
<id>2</id>
<name>tag3</name>
</tag>
</tags>
<status>available</status>
</item>
<item>
<id>9</id>
<category>
<id>4</id>
<name>Lions</name>
</category>
<name>Lion 3</name>
<photoUrls>
<photoUrl>url1</photoUrl>
<photoUrl>url2</photoUrl>
</photoUrls>
<tags>
<tag>
<id>1</id>
<name>tag3</name>
</tag>
<tag>
<id>2</id>
<name>tag4</name>
</tag>
</tags>
<status>available</status>
</item>
<item>
<id>10</id>
<category>
<id>3</id>
<name>Rabbits</name>
</category>
<name>Rabbit 1</name>
<photoUrls>
<photoUrl>url1</photoUrl>
<photoUrl>url2</photoUrl>
</photoUrls>
<tags>
<tag>
<id>1</id>
<name>tag3</name>
</tag>
<tag>
<id>2</id>
<name>tag4</name>
</tag>
</tags>
<status>available</status>
</item>
</ArrayList>