Fix delivered
This commit is contained in:
parent
9181c2946c
commit
a52a4c8146
1 changed files with 3 additions and 1 deletions
|
@ -415,8 +415,10 @@ void adapt(struct evt_core_ctx* ctx, struct evt_core_fdinfo* fdinfo, struct buff
|
||||||
delivered++;
|
delivered++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
printf("[algo_thunder] Delivered %ld packets (now id=%d)\n", delivered, thunderc->recv_id);
|
printf("[algo_thunder] Delivered %ld packets (now id=%d)\n", delivered, thunderc->recv_id);
|
||||||
|
if (delivered > 4) {
|
||||||
|
dump_buffer_packet (bp);
|
||||||
|
}
|
||||||
|
|
||||||
mv_buffer_rtof (&app_ctx->br, fdinfo);
|
mv_buffer_rtof (&app_ctx->br, fdinfo);
|
||||||
if (ctx->verbose > 1) fprintf(stderr, " [algo_thunder] Adapt done\n");
|
if (ctx->verbose > 1) fprintf(stderr, " [algo_thunder] Adapt done\n");
|
||||||
|
|
Loading…
Reference in a new issue