diff options
author | Kurt Pattyn <pattyn.kurt@gmail.com> | 2015-09-06 15:30:03 +0200 |
---|---|---|
committer | Liang Qi <liang.qi@theqtcompany.com> | 2015-09-06 15:29:35 +0000 |
commit | 12e424f241b29ef26ad2a3a70740d8b320e9e85a (patch) | |
tree | 88f84440c9f213acc312f78bc11cd577c00ed2c0 /src/websockets/qwebsockethandshakerequest_p.h | |
parent | e8335d48aa8c6323a6b89d29c76f2b340afd1be4 (diff) | |
download | qtwebsockets-5.5.1.tar.gz |
Add checks on maximum header line length and on the maximum number
of header lines.
Task-number: QTBUG-48123
Change-Id: I65dbeb53af7aa0dfa137ce31fc2549940559314e
Reviewed-by: Richard J. Moore <rich@kde.org>
Diffstat (limited to 'src/websockets/qwebsockethandshakerequest_p.h')
-rw-r--r-- | src/websockets/qwebsockethandshakerequest_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/websockets/qwebsockethandshakerequest_p.h b/src/websockets/qwebsockethandshakerequest_p.h index ad2a249..6ad5381 100644 --- a/src/websockets/qwebsockethandshakerequest_p.h +++ b/src/websockets/qwebsockethandshakerequest_p.h @@ -78,7 +78,7 @@ public: QString resourceName() const; QString host() const; - void readHandshake(QTextStream &textStream); + void readHandshake(QTextStream &textStream, int maxHeaderLineLength, int maxHeaders); private: |