I've been playing with some very basic examples trying to figure out how to do Server Push and I've come with a working solution, though probably imperfect, but I've found an issue while trying to create a SYN_STREAM from the server associated with the request stream ID.
Checking the events tab in Chrome's about:net-internals I saw that the client was sending SPDY_SESSION_SEND_RST_STREAM and carefully looking found that associated_to_stream_id wasn't being sent by the server.
I tried passing the default value in SynStream.new and SynStream#create with no luck, until I realize that it was a property, so I proceed to instantiate the SynStream and then passing the request stream ID to SynStream#associated_to_stream_id=.
It's likely that I did something wrong, but if you perhaps could try it and check that is working that'd be great.
I hope this helps.
I've been playing with some very basic examples trying to figure out how to do Server Push and I've come with a working solution, though probably imperfect, but I've found an issue while trying to create a
SYN_STREAMfrom the server associated with the request stream ID.Checking the events tab in Chrome's about:net-internals I saw that the client was sending
SPDY_SESSION_SEND_RST_STREAMand carefully looking found thatassociated_to_stream_idwasn't being sent by the server.I tried passing the default value in
SynStream.newandSynStream#createwith no luck, until I realize that it was a property, so I proceed to instantiate theSynStreamand then passing the request stream ID toSynStream#associated_to_stream_id=.It's likely that I did something wrong, but if you perhaps could try it and check that is working that'd be great.
I hope this helps.