- 20 Mar, 2009 5 commits
-
-
Tollef Fog Heen authored
If VRT_error is called with reason==NULL, WSL() will eventually call strlen(0), which will cause a SIGSEGV on (Open)Solaris. Fix this by checking if the reason is empty and just use (null) in that case. Fixes: 458 git-svn-id: http://www.varnish-cache.org/svn/branches/2.0@3970 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Tollef Fog Heen authored
Solaris appears to need #include <sys/wait.h> for WEXITSTATUS to be defined. git-svn-id: http://www.varnish-cache.org/svn/branches/2.0@3969 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Tollef Fog Heen authored
C99 standardised "inline" and the Sun compiler doesn't like __inline, so change to using inline consistently. git-svn-id: http://www.varnish-cache.org/svn/branches/2.0@3968 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Tollef Fog Heen authored
We didn't check the return status of system, making failures in a00009 go unnoticed. Fix this and fix a00009 to not fail when run uninstalled. git-svn-id: http://www.varnish-cache.org/svn/branches/2.0@3967 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Tollef Fog Heen authored
We failed to properly check for the end of the list of waiters. Handle this correctly and add a test case Fixes #428 (adopt it for 2.0 where waiter is called acceptor) git-svn-id: http://www.varnish-cache.org/svn/branches/2.0@3966 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 19 Mar, 2009 6 commits
-
-
Tollef Fog Heen authored
Distclean (in the build directory) should clean out default.vcl in the build directory. This fixes a strange FTBFS on FreeBSD. git-svn-id: http://www.varnish-cache.org/svn/branches/2.0@3962 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Tollef Fog Heen authored
git-svn-id: http://www.varnish-cache.org/svn/branches/2.0@3961 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Tollef Fog Heen authored
git-svn-id: http://www.varnish-cache.org/svn/branches/2.0@3960 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Tollef Fog Heen authored
Solaris (and we do not need them) git-svn-id: http://www.varnish-cache.org/svn/branches/2.0@3959 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Tollef Fog Heen authored
Approved by: phk, ssm git-svn-id: http://www.varnish-cache.org/svn/branches/2.0@3958 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Tollef Fog Heen authored
git-svn-id: http://www.varnish-cache.org/svn/branches/2.0@3957 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 23 Feb, 2009 2 commits
-
-
Tollef Fog Heen authored
git-svn-id: http://www.varnish-cache.org/svn/branches/2.0@3820 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Tollef Fog Heen authored
Don't try to rush waiting sessions of refcount is zero, there cannot be any (they would hold a reference). Should be merged to 2.0.3 git-svn-id: http://www.varnish-cache.org/svn/branches/2.0@3817 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 11 Feb, 2009 24 commits
-
-
Ingvar Hagelund authored
git-svn-id: http://www.varnish-cache.org/svn/branches/2.0@3752 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Ingvar Hagelund authored
- Added html doc to the rpm package git-svn-id: http://www.varnish-cache.org/svn/branches/2.0@3751 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Tollef Fog Heen authored
git-svn-id: http://www.varnish-cache.org/svn/branches/2.0@3749 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Tollef Fog Heen authored
git-svn-id: http://www.varnish-cache.org/svn/branches/2.0@3748 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Tollef Fog Heen authored
git-svn-id: http://www.varnish-cache.org/svn/branches/2.0@3747 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Tollef Fog Heen authored
git-svn-id: http://www.varnish-cache.org/svn/branches/2.0@3746 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Tollef Fog Heen authored
git-svn-id: http://www.varnish-cache.org/svn/branches/2.0@3745 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Tollef Fog Heen authored
Overhaul the ESI parser in light of #433 and the prospect of future addition of features to the ESI code. The particular situation in #433 arises because a XML comment is not bounded in length, the same way as an <esi:include...> element naturally is. This opens the window for trouble when large sections of XML is commented out for some reason or another. Bite the bullet and create a "storage-pointer" consisting of a pointer to a storage segment and a pointer into that segment. Add a main-loop which uses these pointers to walks over the entire object, looking for stuff we care about, and handle each appropriately. In addition to coping properly with the situation in #433, this code is also close to 100 lines shorter and has a more logical structure. The downside is that it is isn't quite as memory-access-alergic as the previous version. (I challenge anybody to measure the effect of this.) Fixes: #433 git-svn-id: http://www.varnish-cache.org/svn/branches/2.0@3744 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Tollef Fog Heen authored
git-svn-id: http://www.varnish-cache.org/svn/branches/2.0@3743 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Tollef Fog Heen authored
git-svn-id: http://www.varnish-cache.org/svn/branches/2.0@3742 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Tollef Fog Heen authored
git-svn-id: http://www.varnish-cache.org/svn/branches/2.0@3741 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Tollef Fog Heen authored
Update this test to actually test what it should. I suspect a white-space cleanup got it at some point. git-svn-id: http://www.varnish-cache.org/svn/branches/2.0@3740 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Tollef Fog Heen authored
Make it possible (at great performance loss) to force straight time sequencing of shmlog records for debugging purposes. git-svn-id: http://www.varnish-cache.org/svn/branches/2.0@3739 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Tollef Fog Heen authored
git-svn-id: http://www.varnish-cache.org/svn/branches/2.0@3738 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Tollef Fog Heen authored
git-svn-id: http://www.varnish-cache.org/svn/branches/2.0@3737 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Tollef Fog Heen authored
git-svn-id: http://www.varnish-cache.org/svn/branches/2.0@3736 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Tollef Fog Heen authored
Add two test-cases for objects we should not esi parse. git-svn-id: http://www.varnish-cache.org/svn/branches/2.0@3735 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Tollef Fog Heen authored
Close a race where VCL tries to modify the obj.ttl at the same moment the grim reaper has taken the object off the binheap to inspect it. git-svn-id: http://www.varnish-cache.org/svn/branches/2.0@3734 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Tollef Fog Heen authored
Merge r3564: Move mybe{32,64}enc definitions outside of ifdef so we work on 64 bit BE platforms too. git-svn-id: http://www.varnish-cache.org/svn/branches/2.0@3733 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Tollef Fog Heen authored
git-svn-id: http://www.varnish-cache.org/svn/branches/2.0@3732 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Tollef Fog Heen authored
Fixes build failure git-svn-id: http://www.varnish-cache.org/svn/branches/2.0@3731 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Tollef Fog Heen authored
git-svn-id: http://www.varnish-cache.org/svn/branches/2.0@3730 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Tollef Fog Heen authored
Stop processing ESI elements as soon as we discover that the client has closed the connection on us. Fixes #427 git-svn-id: http://www.varnish-cache.org/svn/branches/2.0@3729 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Tollef Fog Heen authored
(The recent change that moved the compiler into its own subprocess eliminates risk that a compiler error causes the management process to die, you just do not get a sensible syntax error). Fixes: #417 git-svn-id: http://www.varnish-cache.org/svn/branches/2.0@3728 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 10 Feb, 2009 3 commits
-
-
Tollef Fog Heen authored
This hopefully finaly lays the sporadic assert(oe2->timer_when >= oe->timer_when); panics to rest. git-svn-id: http://www.varnish-cache.org/svn/branches/2.0@3727 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Tollef Fog Heen authored
git-svn-id: http://www.varnish-cache.org/svn/branches/2.0@3726 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Tollef Fog Heen authored
git-svn-id: http://www.varnish-cache.org/svn/branches/2.0@3725 d4fa192b-c00b-0410-8231-f00ffab90ce4
-