curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: Patches to make testing external proxies more convenient

From: Fabian Keil via curl-library <>
Date: Mon, 11 Jan 2021 19:36:59 +0100

Fabian Keil <> wrote on 2014-10-03:

> I'd really like to get the patches (or variations thereof) into the next
> curl release.

That ship sailed a couple of years ago but luckily
there's always another curl release.

Here's an updated set of patches:
(SHA256 (curl-test-suite-improvements-2021-01-11.diff) =

The patch set contains CRs and thus has to be
applied with "git am --keep-cr".

The patches make it possible to use 389 of curl's HTTP
tests with Privoxy as proxy. Additionally I wrote a couple
of Privoxy-specific tests and intend to ship them with
future Privoxy releases.

Patches 01 to 16 adjust the test data to prevent the tests
from failing when run through a HTTP proxy or add keywords
so the tests can be automatically skipped.

Patches 17 to 25 adjust itself and allow to
conveniently use a HTTP proxy.

Patch 26 adds a %TESTNUMBER variable which seems convenient
even if no proxy is being used.

Patch 27 isn't mission critical but once helped debugging
and was in the same branch ...


Received on 2021-01-11