Stop QNetworkRequest buffering the entire request

How can I stop QNetworkRequest from buffering the entire contents of a QIODevice during put / post to an HTTPS connection? It works great when sending to HTTP, but HTTPS forces the entire file to be read into memory before writing.

+3
source share
2 answers

This is not supported using Qt classes. The reason is because Qt needs to know the total data length for SSL headers. Code encoding is not supported in terms of sending. However, you can collapse yourself - you need to create your own SSL header, and then create your own pieces of SSL encoded data.

, ( ?).

, Qt-interest - 30 2009 . .

+1

, Qt 4.6. .

0

Source: https://habr.com/ru/post/1719787/


All Articles