mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-03 22:38:41 +09:00
Implement a threadsafe & revised version of http2PushedStream.
This commit is contained in:
parent
71a6b780d9
commit
28e15ed590
9 changed files with 144 additions and 32 deletions
|
|
@ -7828,7 +7828,7 @@ nsHttpChannel::AwaitingCacheCallbacks()
|
|||
}
|
||||
|
||||
void
|
||||
nsHttpChannel::SetPushedStream(Http2PushedStream *stream)
|
||||
nsHttpChannel::SetPushedStream(Http2PushedStreamWrapper *stream)
|
||||
{
|
||||
MOZ_ASSERT(stream);
|
||||
MOZ_ASSERT(!mPushedStream);
|
||||
|
|
@ -7836,7 +7836,7 @@ nsHttpChannel::SetPushedStream(Http2PushedStream *stream)
|
|||
}
|
||||
|
||||
nsresult
|
||||
nsHttpChannel::OnPush(const nsACString &url, Http2PushedStream *pushedStream)
|
||||
nsHttpChannel::OnPush(const nsACString &url, Http2PushedStreamWrapper *pushedStream)
|
||||
{
|
||||
MOZ_ASSERT(NS_IsMainThread());
|
||||
LOG(("nsHttpChannel::OnPush [this=%p]\n", this));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue