[PATCH] Various 4GB+ fixes

2011-04-15 Thread Kristian Lyngstol
Mainly changing int/usigned to size_t/ssize_t and a bit of %u to %lu etc. Not _too_ thoroughly tested, but it went through and the expiry didn't blast apart any more. A quick look-through before push/commit would be nice. (Ops, just spotted my white-space mix-up. I'll fix before push) --- bin/varn

Assert error in WSLR()

2011-04-15 Thread Jean-Baptiste Quenot
Hi there, Since upgrading from Varnish 2.0.6 to Varnish 2.1.3 (both with the Apache LogFormat patch applied) I get this error in production: Apr 15 11:54:31 gw1 varnishd[11313]: Child (9244) Panic message: Assert error in WSLR(), shmlog.c line 236: Condition(w->wlp < w->wle) not true. thread = (

#900 - suggested fix

2011-04-15 Thread Tollef Fog Heen
Hi, I've attached my suggested fix for #900. As a side effect, it allows you to embed binary data in arbitrary strings, so you can serve PNG or GIF images from vcl_error. Comments very welcome, both on the approach and what we should allow. Regards, -- Tollef Fog Heen Varnish Software t: +47