SPDY idle timeout and periodic ping options (MSG-396)

We do. To do otherwise appeared to me to require a nontrivial change to the
`receive` in `loop/1` for little benefit.

On Monday, September 15, 2014, drapp <notifications@github.com> wrote:

> In src/cowboy_spdy.erl:
>
> > @@ -353,11 +374,15 @@ handle_frame(State, {rst_stream, StreamID, Status}) ->
> >  		[StreamID, Status]),
> >  	%% @todo Stop StreamID.
> >  	State;
> > -%% PING initiated by the server; ignore, we don't send any.
> > +%% PING initiated by the server; schedule another.
> > +handle_frame(State=#state{ping_id=PingID, ping_interval=PingInterval,
> > +		ping_sent=true}, {ping, PingID})  ->
> > +	erlang:send_after(PingInterval, self(), send_ping),
>
> If the client missing a ping, do we give up on them forever on the server?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/layerhq/cowboy/pull/4/files#r17578009>.
>