X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fwrite_graphite.c;h=7a0bb12d43e6533388cecc1eb7700a4bf38571f9;hb=b44c85528c7449e9db4610e325fd9550f6ea1dd4;hp=2e4af22db16b05425ccbd9a02a1cc7ea3d03a983;hpb=93b9e0876f661e5c26523a776d10c97635a55ace;p=collectd.git diff --git a/src/write_graphite.c b/src/write_graphite.c index 2e4af22d..7a0bb12d 100644 --- a/src/write_graphite.c +++ b/src/write_graphite.c @@ -66,8 +66,9 @@ # define WG_DEFAULT_ESCAPE '_' #endif +/* Ethernet - (IPv6 + TCP) = 1500 - (40 + 32) = 1428 */ #ifndef WG_SEND_BUF_SIZE -# define WG_SEND_BUF_SIZE 4096 +# define WG_SEND_BUF_SIZE 1428 #endif /*