Post

Replies

Boosts

Views

Activity

The HTTP POST request is split into two TCP packets
Hello, recently we have been troubleshooting some POST interface slow problems on the server side, and found that the iOS client POST requests in the TCP transport layer are separated into two packages (header a package, body a package), check the relevant information found in other languages have a similar situation (like Ruby's Net::HTTP) , but no one mentioned that iOS development on the use of URLSession will also have similar problems. Is there any way to disable this packet splitting strategy ? POST requests like curl and Android are made in a single TCP packet containing all the content possible.
5
0
1.9k
Aug ’22