diff options
author | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-02-11 07:53:16 +0100 |
---|---|---|
committer | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-02-11 07:53:16 +0100 |
commit | 7e0503ea80fa8f6ec3fb8ddf845909f242815510 (patch) | |
tree | f70abab923a9e40d31c22eb682b7883155307863 /netwerk | |
parent | ba84f2b4cb33e553c2d5c896a59cb093ed5ef68e (diff) | |
download | uxp-7e0503ea80fa8f6ec3fb8ddf845909f242815510.tar.gz |
Bug 1351392 - Fix transport status events for http2 and ftp
Diffstat (limited to 'netwerk')
-rw-r--r-- | netwerk/protocol/ftp/nsFtpConnectionThread.cpp | 2 | ||||
-rw-r--r-- | netwerk/protocol/http/Http2Session.cpp | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/netwerk/protocol/ftp/nsFtpConnectionThread.cpp b/netwerk/protocol/ftp/nsFtpConnectionThread.cpp index d428b093c0..1119fcff50 100644 --- a/netwerk/protocol/ftp/nsFtpConnectionThread.cpp +++ b/netwerk/protocol/ftp/nsFtpConnectionThread.cpp @@ -2028,6 +2028,8 @@ nsFtpState::OnTransportStatus(nsITransport *transport, nsresult status, case NS_NET_STATUS_RESOLVED_HOST: case NS_NET_STATUS_CONNECTING_TO: case NS_NET_STATUS_CONNECTED_TO: + case NS_NET_STATUS_TLS_HANDSHAKE_STARTING: + case NS_NET_STATUS_TLS_HANDSHAKE_ENDED: break; default: return NS_OK; diff --git a/netwerk/protocol/http/Http2Session.cpp b/netwerk/protocol/http/Http2Session.cpp index e649c3d8a2..e1440d6a44 100644 --- a/netwerk/protocol/http/Http2Session.cpp +++ b/netwerk/protocol/http/Http2Session.cpp @@ -2273,6 +2273,8 @@ Http2Session::OnTransportStatus(nsITransport* aTransport, case NS_NET_STATUS_RESOLVED_HOST: case NS_NET_STATUS_CONNECTING_TO: case NS_NET_STATUS_CONNECTED_TO: + case NS_NET_STATUS_TLS_HANDSHAKE_STARTING: + case NS_NET_STATUS_TLS_HANDSHAKE_ENDED: { Http2Stream *target = mStreamIDHash.Get(1); nsAHttpTransaction *transaction = target ? target->Transaction() : nullptr; |