[Privoxy-devel] compiler options for testing privoxy?

Fabian Keil fk at fabiankeil.de
Mon Apr 23 16:45:55 UTC 2018


Lee <ler762 at gmail.com> wrote:

> On 4/22/18, Fabian Keil <fk at fabiankeil.de> wrote:
> > Lee <ler762 at gmail.com> wrote:
> >  
> >> what compiler/loader options do you use when testing privoxy?  
> >
> > I usually use:
> >     ./configure -C --with-debug --enable-extended-host-patterns \
> >         --enable-accept-filter --enable-no-gifs --enable-compression \
> >         --enable-strptime-sanity-checks --enable-external-filters \
> >         --enable-client-tags  
> 
> --with-debug adds CFLAGS="$CFLAGS -ggdb"
> gdb can easily deal with multiple threads or do you restrict the
> number of threads privoxy will use?   gdb being one of the many things
> on my list of things to learn someday..

gdb can deal with multiple threads reasonably well.

I still limit Privoxy's threads with max-client-connections
but when debugging stuff the limit is rarely reached.

Fabian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.privoxy.org/pipermail/privoxy-devel/attachments/20180423/8baa403b/attachment.bin>


More information about the Privoxy-devel mailing list