зеркало из https://github.com/mozilla/gecko-dev.git
bug 1113661 - broken h2 dependency id r=hurley
This commit is contained in:
Родитель
71d8445cfe
Коммит
9a8c661ddd
|
@ -538,7 +538,8 @@ Http2Stream::ParseHttpRequestHeaders(const char *buf,
|
|||
outputOffset += Http2Session::kFrameHeaderBytes;
|
||||
|
||||
if (!idx) {
|
||||
memcpy(mTxInlineFrame.get() + outputOffset, &mPriorityDependency, 4);
|
||||
uint32_t wireDep = PR_htonl(mPriorityDependency);
|
||||
memcpy(mTxInlineFrame.get() + outputOffset, &wireDep, 4);
|
||||
memcpy(mTxInlineFrame.get() + outputOffset + 4, &mPriorityWeight, 1);
|
||||
outputOffset += 5;
|
||||
}
|
||||
|
|
|
@ -266,8 +266,8 @@ private:
|
|||
int64_t mRequestBodyLenRemaining;
|
||||
|
||||
uint32_t mPriority; // geckoish weight
|
||||
uint32_t mPriorityDependency; // h2 stream id 3 - 0xb
|
||||
uint8_t mPriorityWeight; // h2 weight
|
||||
uint8_t mPriorityDependency; // h2 stream id 3 - 0xb
|
||||
|
||||
// mClientReceiveWindow, mServerReceiveWindow, and mLocalUnacked are for flow control.
|
||||
// *window are signed because the race conditions in asynchronous SETTINGS
|
||||
|
|
Загрузка…
Ссылка в новой задаче