When using QNetworkAccessManager and disable buffering of upload data, after sending the first request, if the server side closes the connection, and the client side tries to send another request, it will get ContentReSendError via QNetworkReply.
Here is a test case:
using namespace std;
int main(int argc,char** argv)
To test the above code, after seeing the "success" message, wait for about 30 seconds for the server side to close the connection, and then press enter to send the second request. An error message "error: 205" should then appear.
Since the connection is closed before the 2nd request is sent, instead of reporting ContentReSendError, it should have create another connection.