mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 11:55:49 +00:00
Bug 1246735 - h2 reset recursive push. r=hurley
--HG-- extra : rebase_source : 91c88eacaf31338c0c1c027665ed5d6001e3b843
This commit is contained in:
parent
ac2ca00f06
commit
265bd49b07
@ -1598,6 +1598,10 @@ Http2Session::RecvPushPromise(Http2Session *self)
|
||||
RETURN_SESSION_ERROR(self, PROTOCOL_ERROR);
|
||||
}
|
||||
self->GenerateRstStream(REFUSED_STREAM_ERROR, promisedID);
|
||||
} else if (!(associatedID & 1)) {
|
||||
LOG3(("Http2Session::RecvPushPromise %p assocated=0x%X on pushed (even) stream not allowed\n",
|
||||
self, associatedID));
|
||||
self->GenerateRstStream(PROTOCOL_ERROR, promisedID);
|
||||
} else if (!associatedStream) {
|
||||
LOG3(("Http2Session::RecvPushPromise %p lookup associated ID failed.\n", self));
|
||||
self->GenerateRstStream(PROTOCOL_ERROR, promisedID);
|
||||
|
Loading…
Reference in New Issue
Block a user