bug 1025075 - http2 CONNECT streams should have consistent priority r=hurley

---
 netwerk/protocol/http/Http2Session.cpp  | 3 ++-
 netwerk/protocol/http/SpdySession3.cpp  | 3 ++-
 netwerk/protocol/http/SpdySession31.cpp | 3 ++-
 3 files changed, 6 insertions(+), 3 deletions(-)

---
 netwerk/protocol/http/Http2Session.cpp  | 3 ++-
 netwerk/protocol/http/SpdySession3.cpp  | 3 ++-
 netwerk/protocol/http/SpdySession31.cpp | 3 ++-
 3 files changed, 6 insertions(+), 3 deletions(-)
This commit is contained in:
Patrick McManus 2014-06-13 09:29:00 -04:00
Родитель f976e1a360
Коммит 93e8375c89
3 изменённых файлов: 6 добавлений и 3 удалений

Просмотреть файл

@ -28,6 +28,7 @@
#include "nsISSLSocketControl.h"
#include "nsISSLStatus.h"
#include "nsISSLStatusProvider.h"
#include "nsISupportsPriority.h"
#include "prprf.h"
#include "prnetdb.h"
#include "sslt.h"
@ -2888,7 +2889,7 @@ Http2Session::DispatchOnTunnel(nsAHttpTransaction *aHttpTransaction,
nsRefPtr<SpdyConnectTransaction> connectTrans =
new SpdyConnectTransaction(ci, aCallbacks,
trans->Caps(), trans, this);
AddStream(connectTrans, trans->Priority(),
AddStream(connectTrans, nsISupportsPriority::PRIORITY_NORMAL,
false, nullptr);
Http2Stream *tunnel = mStreamTransactionHash.Get(connectTrans);
MOZ_ASSERT(tunnel);

Просмотреть файл

@ -18,6 +18,7 @@
#include "nsHttp.h"
#include "nsHttpHandler.h"
#include "nsILoadGroup.h"
#include "nsISupportsPriority.h"
#include "prprf.h"
#include "SpdyPush3.h"
#include "SpdySession3.h"
@ -2528,7 +2529,7 @@ SpdySession3::DispatchOnTunnel(nsAHttpTransaction *aHttpTransaction,
nsRefPtr<SpdyConnectTransaction> connectTrans =
new SpdyConnectTransaction(ci, aCallbacks,
trans->Caps(), trans, this);
AddStream(connectTrans, trans->Priority(),
AddStream(connectTrans, nsISupportsPriority::PRIORITY_NORMAL,
false, nullptr);
SpdyStream3 *tunnel = mStreamTransactionHash.Get(connectTrans);
MOZ_ASSERT(tunnel);

Просмотреть файл

@ -19,6 +19,7 @@
#include "nsHttpHandler.h"
#include "nsHttpConnection.h"
#include "nsILoadGroup.h"
#include "nsISupportsPriority.h"
#include "prprf.h"
#include "prnetdb.h"
#include "SpdyPush31.h"
@ -2660,7 +2661,7 @@ SpdySession31::DispatchOnTunnel(nsAHttpTransaction *aHttpTransaction,
nsRefPtr<SpdyConnectTransaction> connectTrans =
new SpdyConnectTransaction(ci, aCallbacks,
trans->Caps(), trans, this);
AddStream(connectTrans, trans->Priority(),
AddStream(connectTrans, nsISupportsPriority::PRIORITY_NORMAL,
false, nullptr);
SpdyStream31 *tunnel = mStreamTransactionHash.Get(connectTrans);
MOZ_ASSERT(tunnel);