Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commited6ff63

Browse files
yhagerdeanberris
authored andcommitted
fix client_get_streaming_test (#840)
* fix client_get_streaming_test* perform client_get_streaming_test only if SSL is enabled* test for BOOST_NETWORK_ENABLE_HTTPS for https streaming test
1 parent604d611 commited6ff63

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎libs/network/test/http/client_get_streaming_test.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,9 @@ struct body_handler {
2525

2626
TYPED_TEST_CASE(HTTPClientTest, ClientTypes);
2727

28+
#ifdef BOOST_NETWORK_ENABLE_HTTPS
2829
TYPED_TEST(HTTPClientTest, GetStreamingTest) {
29-
typename TypeParam::requestrequest("http://www.boost.org");
30+
typename TypeParam::requestrequest("https://www.boost.org");
3031
typename TypeParam::response response;
3132
typename TypeParam::string_type body_string;
3233
typename TypeParam::string_type dummy_body;
@@ -47,3 +48,4 @@ TYPED_TEST(HTTPClientTest, GetStreamingTest) {
4748
}
4849
EXPECT_EQ(dummy_body,typenameTypeParam::string_type());
4950
}
51+
#endif

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp