You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I overlooked the fact that the http2 settings will technically be ordered with InitialWindowSize and HeaderTableSize always being the last two header frames sent. No site is detecting via http2 setting order at the moment, so it is not problem, but the fix is also pretty easy. In order to fix this error, there needs to be an underlying API change detailed below. What are everyone's opinions on this?
Have the http2 Transport Settings field changed from
// Settings should not include InitialWindowSize or HeaderTableSize, set that in TransportSettings []SettingInitialWindowSizeuint32// if nil, will use global initialWindowSizeHeaderTableSizeuint32// if nil, will use global initialHeaderTableSize
to
Settingsmap[SettingID]uint32
This would require everyone using the library to change their code, but since this isn't a pressing issue that seems like unnecessary work.
The text was updated successfully, but these errors were encountered:
@zMrKrabz i created a branch on my fork adressing this issue and taking your proposed fix into account.
my issue was next to the order issue that my fhttp client always sends MAX_FRAME_SIZE and ENABLE_PUSH. My browser did not do it actually. therefore i need another possibility to define the settings which are actually sent next to the order of the settings.
ranging over Settings map[SettingID]uint32 might fuck up the order because of the random iteration over a map. but more to this can be found in my changeset.
I overlooked the fact that the http2 settings will technically be ordered with
InitialWindowSize
andHeaderTableSize
always being the last two header frames sent. No site is detecting via http2 setting order at the moment, so it is not problem, but the fix is also pretty easy. In order to fix this error, there needs to be an underlying API change detailed below. What are everyone's opinions on this?Code that creates error:
Proposed Fix:
to
This would require everyone using the library to change their code, but since this isn't a pressing issue that seems like unnecessary work.
The text was updated successfully, but these errors were encountered: