Skip to content

Commit 10a9745

Browse files
committed
update to the latest oatpp API.
1 parent e77069f commit 10a9745

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

test/oatpp-openssl/FullAsyncClientTest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ class ClientCoroutine_echoBodyAsync : public oatpp::async::Coroutine<ClientCorou
188188
public:
189189

190190
Action act() override {
191-
oatpp::data::stream::ChunkedBuffer stream;
191+
oatpp::data::stream::BufferOutputStream stream;
192192
for(v_int32 i = 0; i < oatpp::data::buffer::IOBuffer::BUFFER_SIZE; i++) {
193193
stream.writeSimple("0123456789", 10);
194194
}

test/oatpp-openssl/FullAsyncTest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ void FullAsyncTest::onRun() {
182182
}
183183

184184
{ // test Big Echo with body
185-
oatpp::data::stream::ChunkedBuffer stream;
185+
oatpp::data::stream::BufferOutputStream stream;
186186
for(v_int32 i = 0; i < oatpp::data::buffer::IOBuffer::BUFFER_SIZE; i++) {
187187
stream.writeSimple("0123456789", 10);
188188
}

test/oatpp-openssl/FullTest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ void FullTest::onRun() {
195195
}
196196

197197
{ // test Big Echo with body
198-
oatpp::data::stream::ChunkedBuffer stream;
198+
oatpp::data::stream::BufferOutputStream stream;
199199
for(v_int32 i = 0; i < oatpp::data::buffer::IOBuffer::BUFFER_SIZE; i++) {
200200
stream.writeSimple("0123456789", 10);
201201
}

0 commit comments

Comments
 (0)