QNetworkAccessManager one segment request

QNetworkAccessManager one segment request



When using QNetworkAccessManager to send a post request


QNetworkRequest request(url);
QNetworkReply* reply = networkManager->post(request, message.toUtf8());



QNetworkAccessManager divides the query into 2 parts, as seen in the screenshot below



wireshark log





Here "TCP segment of a reassembled PDU" it is the first part of the query, "POST HTTP/1.1" - the second part of the query.



Is it possible to send a post request with one tcp packet?









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.