Send JSON from 1Сv8 with nginx (proxy to unicorn backend) via a POST request.
Part requests comes fine but some get response from nginx 400. Turned on the logging request body and saw that the JSON does not come fully - cropped part of a query at the end.
Looked traffic wireshark'ohms and found that these queries consist of 9 Reassembled TCP Segments. Moreover, only in the problematic queries, I see 2 TCP segment data. And just this second segment somehow is truncated.
1. Why can be split into 2 TCP segment data?
2. Why in the reassembled tcp segment misses?