diff options
Diffstat (limited to 'test/spdy_server.erl')
-rw-r--r-- | test/spdy_server.erl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/spdy_server.erl b/test/spdy_server.erl index 2847d33..4690270 100644 --- a/test/spdy_server.erl +++ b/test/spdy_server.erl @@ -113,6 +113,9 @@ do_send([{syn_stream, StreamID, AssocToStreamID, IsFin, IsUnidirectional, Priori do_send([{syn_reply, StreamID, IsFin, Status, Version, Headers}|Tail], Socket, Zdef) -> ssl:send(Socket, cow_spdy:syn_reply(Zdef, StreamID, IsFin, Status, Version, Headers)), do_send(Tail, Socket, Zdef); +do_send([{rst_stream, StreamID, Status}|Tail], Socket, Zdef) -> + ssl:send(Socket, cow_spdy:rst_stream(StreamID, Status)), + do_send(Tail, Socket, Zdef); do_send([{window_update, StreamID, DeltaWindowSize}|Tail], Socket, Zdef) -> %% @todo ssl:send(Socket, cow_spdy:window_update(StreamID, DeltaWindowSize)), do_send(Tail, Socket, Zdef); |