fn goaway_from_client_good() {
        let mut s = Session::default().unwrap();
        s.handshake().unwrap();

        s.client.send_goaway(&mut s.pipe.client, 100).unwrap();

        s.advance().ok();

        // TODO: server push
        assert_eq!(s.poll_server(), Ok((0, Event::GoAway)));
    }
/// Send a GOAWAY frame from the client.
Send a GOAWAY frame from the client.
Send a GOAWAY frame from the client .
fn goaway_from_client_good() {
        let mut s = Session::default().unwrap();
        s.handshake().unwrap();
        s.client.send_goaway(&mut s.pipe.client, 100).unwrap();
        s.advance().ok();
        // TODO: server push
        assert_eq!(s.poll_server(), Ok((0, Event::GoAway)));
    }
fn goaway_from_client_good ( ) { let mut s = Session :: default ( ) . unwrap ( ) ; s . handshake ( ) . unwrap ( ) ; s . client . send_goaway ( & mut s . pipe . client , 100 ) . unwrap ( ) ; s . advance ( ) . ok ( ) ; // TODO: server push assert_eq ! ( s poll_server ( ) Ok ( ( 0 Event GoAway ) ) ) ; }
Send a GOAWAY frame from the client.
Send a GOAWAY frame from the client .