Qt QNetworkReply connection closed

后端 未结 1 1284
深忆病人
深忆病人 2021-01-23 19:12

I try to execute post method in c++ to a url https://..., but I receive connection closed error.

I see that my code works if I use another url like ht

1条回答
  •  终归单人心
    2021-01-23 19:51

    i achieved to overcome this problem with this code

    QSslConfiguration config = QSslConfiguration::defaultConfiguration();
    config.setProtocol(QSsl::SslV3);
    

    then i received ssl errors that i passed with ignoresslerrors()

    0 讨论(0)
提交回复
热议问题