File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -461,9 +461,10 @@ static void test_ssl_http2(Server::Mode mode) {
461
461
462
462
usleep (10000 );
463
463
464
+ DEBUG () << " NGHTTP2 VERSION: " << NGHTTP2_VERSION << std::endl;
464
465
DEBUG () << buf.to_std_string ();
465
466
466
- EXPECT_TRUE (buf.contains (" user-agent: nghttp2/" NGHTTP2_VERSION ));
467
+ EXPECT_TRUE (buf.contains (" user-agent: nghttp2/" ));
467
468
// FIXME There is a bug in nghttp's processing of settings frames,
468
469
// so it can only give up detecting response content.
469
470
// EXPECT_TRUE(buf.contains("Welcome to HTTP/2 Server"));
@@ -495,7 +496,7 @@ static void test_ssl_http2(Server::Mode mode) {
495
496
serv->close (fd);
496
497
return ;
497
498
}
498
- http2_send_settings (session.get (), default_settings, sizeof (default_settings) / sizeof (default_settings[0 ]));
499
+ http2_send_settings (session.get (), default_settings, sizeof (default_settings) / sizeof (default_settings[0 ]));
499
500
};
500
501
501
502
serv.onClose = [](Server *serv, DataHead *ev) {
You can’t perform that action at this time.
0 commit comments