Skip to content

Commit f5fa9df

Browse files
committed
Reduce body size in server example
1 parent aee894f commit f5fa9df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

capi/examples/server.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ static void server_callback(
348348
hyper_body *body = hyper_body_new();
349349
hyper_body_set_data_func(body, send_each_body_chunk);
350350
int *chunk_count = (int *)malloc(sizeof(int));
351-
*chunk_count = 1000;
351+
*chunk_count = 10;
352352
hyper_body_set_userdata(body, (void *)chunk_count, free);
353353
hyper_response_set_body(response, body);
354354
}

0 commit comments

Comments
 (0)