# HG changeset patch # User Sergey Kandaurov # Date 1412346463 -14400 # Node ID 00275fa9091cee1ad406f096ee0aba2572588e8d # Parent 1c5a8265f38651e762dff8753cffc69c1622e33e Tests: fixed SPDY test with limit_conn. Let existing streams drain their data and close before issuing subsequent requests that is a subject to limit_conn restriction. diff --git a/spdy.t b/spdy.t --- a/spdy.t +++ b/spdy.t @@ -528,6 +528,13 @@ is($frame->{headers}->{':status'}, 200, ($frame) = grep { $_->{type} eq "SYN_REPLY" && $_->{sid} == $sid2 } @$frames; is($frame->{headers}->{':status'}, 503, 'conn_limit 2'); +spdy_settings($sess, 7 => 2**16); + +spdy_read($sess, all => [ + { sid => $sid1, fin => 1 }, + { sid => $sid2, fin => 1 } +]); + # limit_conn + client's RST_STREAM $sess = new_session();