[sheepdog] [PATCH 2/3] sheep: don't send unnecessary data on error
MORITA Kazutaka
morita.kazutaka at lab.ntt.co.jp
Sat Sep 8 10:26:16 CEST 2012
At Fri, 7 Sep 2012 16:45:27 +0900,
MORITA Kazutaka wrote:
>
> This will save network traffic in some cases.
>
> Signed-off-by: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
> ---
> sheep/request.c | 6 ++++++
> 1 files changed, 6 insertions(+), 0 deletions(-)
I've found there are much more places where we can do this kind of
optimization. I'll try another approach rather than adding
"rsp->data_length = 0" to all of them.
Thanks,
Kazutaka
More information about the sheepdog
mailing list