varnish & cookies & multilanguage

rafailowski rafailow at gmail.com
Thu Aug 2 18:12:58 CEST 2007


It doesn't work with this:

sub vcl_hash {
        if (req.http.cookie) {
                set req.hash += regsub(
                req.http.cookie,
                ".*LOCALIZER_LANGUAGE=%22(..)%22.*",
                "$1");
        }
}

So i investiguate the logs and i found this, it seems that it crash
the process childs.
with %22.

here's the varnish logs:
    0 CLI            Rd vcl.use boot
    0 CLI            Wr 0 200
    0 CLI            Rd start
    0 CLI            Wr 0 200
    0 WorkThread     0xb43e3830 start
   12 SessionOpen  c 72.18.0.221 35046
    0 CLI            Rd vcl.load boot ./bin.XXvU36Ya
    0 CLI            Wr 0 200 Loaded "./bin.XXvU36Ya" as "boot"

    0 CLI            Rd vcl.use boot
    0 CLI            Wr 0 200
    0 CLI            Rd start
    0 CLI            Wr 0 200
    0 WorkThread     0xb41fd830 start
   12 SessionOpen  c 72.18.0.221 35047
    0 CLI            Rd vcl.load boot ./bin.XXvU36Ya
    0 CLI            Wr 0 200 Loaded "./bin.XXvU36Ya" as "boot"

    0 CLI            Rd vcl.use boot
    0 CLI            Wr 0 200
    0 CLI            Rd start
    0 CLI            Wr 0 200
    0 WorkThread     0xb43e3830 start
   12 SessionOpen  c 72.18.0.221 35048
    0 CLI            Rd vcl.load boot ./bin.XXvU36Ya
    0 CLI            Wr 0 200 Loaded "./bin.XXvU36Ya" as "boot"

How can i fix this? Do you need more infos and which one to solve this
another problem :)
Thx



More information about the varnish-misc mailing list