From 01435767af44a6f8efb935e3e44e87c76c13879e Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Tue, 19 Jan 2016 13:24:39 +1100 Subject: [PATCH] Store client sendbufsize to avoid setting it again later to a smaller value unwittingly --- src/connector.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/connector.c b/src/connector.c index 984dc6f3..7576a8d8 100644 --- a/src/connector.c +++ b/src/connector.c @@ -987,7 +987,7 @@ static void passthrough_client(ckpool_t *ckp, cdata_t *cdata, client_instance_t if (!ckp->rmem_warn) set_recvbufsize(ckp, client->fd, 1048576); if (!ckp->wmem_warn) - set_sendbufsize(ckp, client->fd, 1048576); + client->sendbufsize = set_sendbufsize(ckp, client->fd, 1048576); } static void remote_server(ckpool_t *ckp, cdata_t *cdata, client_instance_t *client)