Skip to content

Commit ae7bc0f

Browse files
committed
modify the bug for http c++ example
1 parent a5cdfc1 commit ae7bc0f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

example/http_c++/http_server.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ class FileServiceImpl : public FileService {
105105

106106
// sleep a while to send another part.
107107
bthread_usleep(10000);
108-
if (FLAGS_enable_progressive_timout && i > 50) {
108+
if (FLAGS_enable_progressive_timeout && i > 50) {
109109
bthread_usleep(100000000UL);
110110
}
111111
}
@@ -198,7 +198,7 @@ class HttpSSEServiceImpl : public HttpSSEService {
198198

199199
// sleep a while to send another part.
200200
bthread_usleep(10000 * 10);
201-
if (FLAGS_enable_progressive_timout && i > 50) {
201+
if (FLAGS_enable_progressive_timeout && i > 50) {
202202
bthread_usleep(100000000UL);
203203
}
204204
}

0 commit comments

Comments
 (0)