diff options
| author | Felix (xq) Queißner <git@mq32.de> | 2020-06-05 00:00:33 +0200 |
|---|---|---|
| committer | Felix (xq) Queißner <git@mq32.de> | 2020-06-05 00:00:33 +0200 |
| commit | 30d8beca2757159b5103be3f231cd3ef03d4f1bb (patch) | |
| tree | bc6d36c68a472f63fcb4e49ec6a6d87592dab464 /geminiclient.hpp | |
| parent | 55e4bf4197d5992d05296bff3bb339da17ed0a39 (diff) | |
| download | kristall-30d8beca2757159b5103be3f231cd3ef03d4f1bb.tar.gz | |
Fixes a bug in gemini client: When remote host closes TLS session, the client closes the socket.
Diffstat (limited to 'geminiclient.hpp')
| -rw-r--r-- | geminiclient.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/geminiclient.hpp b/geminiclient.hpp index 71256c0..590eb5b 100644 --- a/geminiclient.hpp +++ b/geminiclient.hpp @@ -36,6 +36,8 @@ private: public: explicit GeminiClient(QObject *parent = nullptr); + ~GeminiClient() override; + bool startRequest(QUrl const & url); bool isInProgress() const; @@ -71,6 +73,9 @@ private slots: void sslErrors(const QList<QSslError> &errors); + void socketError(QAbstractSocket::SocketError socketError); + + private: bool is_receiving_body; |
