diff --git a/proxy.c b/proxy.c index 26373908..a83428da 100644 --- a/proxy.c +++ b/proxy.c @@ -238,7 +238,6 @@ static void plug_proxy_sent (Plug *p, int bufsize) ProxySocket *ps = container_of(p, ProxySocket, plugimpl); if (ps->state != PROXY_STATE_ACTIVE) { - ps->sent_bufsize = bufsize; ps->negotiate(ps, PROXY_CHANGE_SENT); return; } diff --git a/proxy.h b/proxy.h index b7e2c3b3..0d5196d0 100644 --- a/proxy.h +++ b/proxy.h @@ -71,9 +71,6 @@ struct ProxySocket { const char *receive_data; int receive_len; - /* sent */ - int sent_bufsize; - /* accepting */ accept_fn_t accepting_constructor; accept_ctx_t accepting_ctx;