Details
-
Bug
-
Resolution: Incomplete
-
P2: Important
-
None
-
5.15.2
-
None
-
-
8
-
Team 2 Foundation_Sprint 47
Description
Hello, Qt staff.
I report that QSslSocket::bytesWritten is not working on Windows. It works perfectly on UNIX, as supposed.
I created a simple implementation of HTTP 1.1 version with QSslSocket in order to upload/download files because QNetworkAccessManager doesn't connect to the HTTP server I connect to. I suppose the reason is some misconfiguration of HTTP 2 at the server side and QNetworkAccessManager doesn't connect.
So, I write the entire file I want to upload with chunks of 1MiB using writeData, and then I use the signal bytesWritten to receive the notifications of the upload progress. It works perfectly on UNIX, but not on Windows. On Windows, I receive the notification of ALL I wrote at once, and that is not the correct behavior because there is no progress visualization of the upload on a slow network.