Response Content Modifications

Moshe Kaplan mokplan at gmail.com
Mon Mar 1 13:56:00 CET 2010


Hi Phk,

I understand that you are well into Varnish, and that you are familiar with
the internal functions (those that are used in the inline C)
Is there any exposure in the code (C and not VCL) to the C pointer to the
response and object content?
Is it available in the http struct? or in any other struct in the system? or
is it just not available anywhere?

Thanks in advance,
Moshe

On Sun, Feb 28, 2010 at 7:06 PM, Poul-Henning Kamp <phk at phk.freebsd.dk>wrote:

> In message <c3623d231002280600v61c38ae4vaa41bc8e972da44d at mail.gmail.com>,
> Moshe
>  Kaplan writes:
>
> >The target is to modify the received content from the backend (for example
> >changing embedded URLs in HTML, removing parts of the content based on
> >regular expressions and so on).
> >
> >P.S. I don't have control on the back end content, so I cannot use esi.
>
> Sorry for asking a point blank rude question, but what you describes
> sounds like theft of copyrighted content from somebody else.
>
> Do you have the necessary legal rights to use the contents on the backend ?
>
> Poul-Henning
>
> --
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> phk at FreeBSD.ORG         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe
> Never attribute to malice what can adequately be explained by incompetence.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-dev/attachments/20100301/820eda51/attachment-0002.html>


More information about the varnish-dev mailing list