SlyMarbo / spdy

[deprecated] A full-featured SPDY library for the Go language.
BSD 2-Clause "Simplified" License
118 stars 13 forks source link

ReceiveFrame goroutines create non-deterministic frame ordering #57

Closed rnapier closed 10 years ago

rnapier commented 10 years ago

spdy3_client_stream:ReceiveFrame generates a goroutine to handle each frame. This means that frames can be processed in any order (there is no promise that goroutines will run in the order they are created). I believe this code would be simpler if the frames were processed synchronously.