We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aee894f commit f5fa9dfCopy full SHA for f5fa9df
capi/examples/server.c
@@ -348,7 +348,7 @@ static void server_callback(
348
hyper_body *body = hyper_body_new();
349
hyper_body_set_data_func(body, send_each_body_chunk);
350
int *chunk_count = (int *)malloc(sizeof(int));
351
- *chunk_count = 1000;
+ *chunk_count = 10;
352
hyper_body_set_userdata(body, (void *)chunk_count, free);
353
hyper_response_set_body(response, body);
354
}
0 commit comments