Restart idle timer on sending network response

This commit is contained in:
Chocobo1
2021-12-12 17:25:55 +08:00
parent c652123145
commit ece92a886a
2 changed files with 15 additions and 8 deletions

View File

@@ -52,11 +52,9 @@ namespace Http
bool hasExpired(qint64 timeout) const;
bool isClosed() const;
private slots:
void read();
private:
static bool acceptsGzipEncoding(QString codings);
void read();
void sendResponse(const Response &response) const;
QTcpSocket *m_socket;