Changeset 68248 in webkit
- Timestamp:
- Sep 24, 2010 5:44:42 AM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r68243 r68248 1 2010-09-24 Yael Aharon <yael.aharon@nokia.com> 2 3 Reviewed by Kenneth Rohde Christiansen. 4 5 [Qt] Web Sockets are insecure with QtWebKit 6 https://bugs.webkit.org/show_bug.cgi?id=44769 7 8 Throw an error when the server certificate is not valid. 9 DRT currently does not support secure websocket connection, 10 so no new tests. This was tested with the server at 11 http://code.google.com/p/pywebsocket instead. 12 13 * platform/network/qt/SocketStreamHandleQt.cpp: 14 (WebCore::SocketStreamHandlePrivate::socketSslErrors): 15 1 16 2010-09-24 Jia Pu <jpu@apple.com> 2 17 -
trunk/WebCore/platform/network/qt/SocketStreamHandleQt.cpp
r54298 r68248 149 149 150 150 #ifndef QT_NO_OPENSSL 151 void SocketStreamHandlePrivate::socketSslErrors(const QList<QSslError>&) 152 { 153 // FIXME: based on http://tools.ietf.org/html/draft-hixie-thewebsocketprotocol-68#page-15 154 // we should abort on certificate errors. 155 // We don't abort while this is still work in progress. 156 static_cast<QSslSocket*>(m_socket)->ignoreSslErrors(); 151 void SocketStreamHandlePrivate::socketSslErrors(const QList<QSslError>& error) 152 { 153 QMetaObject::invokeMethod(this, "socketErrorCallback", Qt::QueuedConnection, Q_ARG(int, error[0].error())); 157 154 } 158 155 #endif
Note: See TracChangeset
for help on using the changeset viewer.