TODO 157

Lee <[email protected]> Tue, 23 May 2017 16:50:13 -0400
Newsgroups gmane.comp.web.privoxy.devel
Message-ID <CAD8GWsvFeZt5WRSj4XM4c3YAB0DmcQ2u-mSmgut6SoE10Aa6PA@mail.gmail.com>
> Add #157: Add a directive to control the currently hardcoded receive-buffer
> size

Doesn't setting the receive buffer requires a setsockopt call with
either SO_SNDBUF or SO_RCVBUF?  I don't see it.
Or do you mean the
  char buf[BUFFER_SIZE];
in jcc.c:handle_established_connection changes ?  If that's it,

- what do you hope to gain making it a user-controlled size

- how do you feel about using a GNU extension .. at least initially,
to see if the change is worth the effort?
https://www.gnu.org/software/gnu-c-manual/gnu-c-manual.html#Declaring-Arrays
  Another GNU extension allows you to declare an array size using
variables, rather than only constants.

Lee

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot