mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-06 15:58:39 +09:00
Revert "Implement a threadsafe & revised version of http2PushedStream."
Backed out because of gcc build failures. This reverts commit 66fae1d81013a2321e7d607a426f834a01b847ce.
This commit is contained in:
parent
675dada294
commit
6666e772e0
9 changed files with 32 additions and 144 deletions
|
|
@ -1827,18 +1827,13 @@ nsHttpConnectionMgr::ProcessNewTransaction(nsHttpTransaction *trans)
|
|||
|
||||
trans->SetPendingTime();
|
||||
|
||||
RefPtr<Http2PushedStreamWrapper> pushedStreamWrapper =
|
||||
trans->GetPushedStream();
|
||||
if (pushedStreamWrapper) {
|
||||
Http2PushedStream* pushedStream = pushedStreamWrapper->GetStream();
|
||||
if (pushedStream) {
|
||||
LOG((" ProcessNewTransaction %p tied to h2 session push %p\n", trans,
|
||||
pushedStream->Session()));
|
||||
return pushedStream->Session()->AddStream(trans, trans->Priority(), false,
|
||||
nullptr)
|
||||
? NS_OK
|
||||
: NS_ERROR_UNEXPECTED;
|
||||
}
|
||||
Http2PushedStream *pushedStream = trans->GetPushedStream();
|
||||
if (pushedStream) {
|
||||
LOG((" ProcessNewTransaction %p tied to h2 session push %p\n",
|
||||
trans, pushedStream->Session()));
|
||||
return pushedStream->Session()->
|
||||
AddStream(trans, trans->Priority(), false, nullptr) ?
|
||||
NS_OK : NS_ERROR_UNEXPECTED;
|
||||
}
|
||||
|
||||
nsresult rv = NS_OK;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue