Bound maximum data read to RECV_DATA_BUFFER_SIZE per iteration
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Thu, 31 Jan 2019 21:54:32 +0000 (16:54 -0500)
committerJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Tue, 25 Jun 2019 15:16:03 +0000 (11:16 -0400)
commitaa95faca6cb7a9af8ef2edf696a296b0eac6704c
tree4c7a69d11af5771bea509de8980906de86af7978
parentd9b9088d65b39e019f0d663df9fc5383408d60a3
Bound maximum data read to RECV_DATA_BUFFER_SIZE per iteration

Do not consume everything all at once even if there is data left on the
socket. This is to provide fairness to the overall data handling of all
connections.

It also provide a bounded processing execution for a data processing
iteration.

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
src/bin/lttng-relayd/main.c
This page took 0.02774 seconds and 5 git commands to generate.