Possible race condition with http2
See original GitHub issueI haven’t looked into this yet, but am seeing different behaviour for the same operation
$ okcurl --frames https://graph.facebook.com/robots.txt
<< 0x00000000 30 SETTINGS
<< 0x00000000 4 WINDOW_UPDATE
>> CONNECTION 505249202a20485454502f322e300d0a0d0a534d0d0a0d0a
>> 0x00000000 0 SETTINGS ACK
>> 0x00000000 6 SETTINGS
>> 0x00000000 4 WINDOW_UPDATE
>> 0x00000003 76 HEADERS END_STREAM|END_HEADERS
<< 0x00000000 0 SETTINGS ACK
<< 0x00000003 4 WINDOW_UPDATE
<< 0x00000003 174 HEADERS END_HEADERS
<< 0x00000003 26 DATA END_STREAM
User-agent: *
Disallow: /
>> 0x00000000 8 GOAWAY
$ okcurl --frames https://graph.facebook.com/robots.txt
<< 0x00000000 30 SETTINGS
>> 0x00000000 0 SETTINGS ACK
<< 0x00000000 4 WINDOW_UPDATE
>> CONNECTION 505249202a20485454502f322e300d0a0d0a534d0d0a0d0a
>> 0x00000000 6 SETTINGS
>> 0x00000000 4 WINDOW_UPDATE
>> 0x00000003 76 HEADERS END_STREAM|END_HEADERS
<< 0x00000000 34 GOAWAY
>> CONNECTION 505249202a20485454502f322e300d0a0d0a534d0d0a0d0a
<< 0x00000000 30 SETTINGS
<< 0x00000000 4 WINDOW_UPDATE
>> 0x00000000 0 SETTINGS ACK
>> 0x00000000 6 SETTINGS
>> 0x00000000 4 WINDOW_UPDATE
>> 0x00000003 76 HEADERS END_STREAM|END_HEADERS
<< 0x00000000 0 SETTINGS ACK
<< 0x00000003 4 WINDOW_UPDATE
<< 0x00000003 172 HEADERS END_HEADERS
<< 0x00000003 26 DATA END_STREAM
User-agent: *
Disallow: /
>> 0x00000000 8 GOAWAY
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
Possible race condition With http2 implementation
I have a curious issue, which happens in production very infrequently. I have a gobal http client to reuse connections.
Read more >race condition on http2 server push - Google Groups
It looks like race condition on sequence of streaming if I used artificial delay for each response events to simulate realistic async events....
Read more >Race Condition in Web Applications - Wallarm
The race condition occurs both in multithreaded applications and in the databases in which they work. Read all the details in our article....
Read more >Exploiting Race Conditions in Web Applications ... - NTNU Open
exploiting race conditions on applications that serve their content over. HTTP/2. Both techniques exploit new features introduced in HTTP/2.
Read more >Exploiting Race Conditions in Web Applications ... - Aaltodoc
Race conditions are a well-known problem in environments where there are several concurrent execution flows, such as threads or processes.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You can be my reviewer!
FYI - I can’t reproduce the issue with your branch