diff options
Diffstat (limited to 'WebCore/websockets/WebSocketHandshake.h')
-rw-r--r-- | WebCore/websockets/WebSocketHandshake.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/WebCore/websockets/WebSocketHandshake.h b/WebCore/websockets/WebSocketHandshake.h index df199ff..3e0c66a 100644 --- a/WebCore/websockets/WebSocketHandshake.h +++ b/WebCore/websockets/WebSocketHandshake.h @@ -40,8 +40,8 @@ namespace WebCore { - class ScriptExecutionContext; class HTTPHeaderMap; + class ScriptExecutionContext; class WebSocketHandshake : public Noncopyable { public: @@ -92,7 +92,7 @@ namespace WebCore { // Reads all headers except for the two predefined ones. const char* readHTTPHeaders(const char* start, const char* end, HTTPHeaderMap* headers); bool processHeaders(const HTTPHeaderMap& headers); - void checkResponseHeaders(); + bool checkResponseHeaders(); KURL m_url; String m_clientProtocol; @@ -106,6 +106,11 @@ namespace WebCore { String m_wsProtocol; String m_setCookie; String m_setCookie2; + + String m_secWebSocketKey1; + String m_secWebSocketKey2; + unsigned char m_key3[8]; + unsigned char m_expectedChallengeResponse[16]; }; } // namespace WebCore |