- 20 Feb, 2008 3 commits
-
-
Stig Sandbeck Mathisen authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@2521 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Stig Sandbeck Mathisen authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@2520 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@2519 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 19 Feb, 2008 5 commits
-
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@2518 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@2517 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
HSH_Lookup() is supposed to guarantee this, but it appears that it sometimes doesn't (perhaps a bug snuck in with grace mode?) git-svn-id: http://www.varnish-cache.org/svn/trunk@2516 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@2515 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
Use EV_ONESHOT for all session events to make the kernel delete the event when it fires, to remove any chance of any race with session state and kqueue event arming. For sessions with acceptfilter, this does just what we want (and I kick myself for not realizing this much sooner). For sessions where the acceptfilter is not enabled or has given up, this results in an extra kevent arming operation for each read, but this is still a much lower overhead than synchrnously deleting the event when before passing the session on. Delete all the workarounds and band-aids that had accumulated. All in all, a win-win-win situation. I have no idea how many tickets this will close. git-svn-id: http://www.varnish-cache.org/svn/trunk@2514 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 18 Feb, 2008 8 commits
-
-
Dag Erling Smørgrav authored
on a session that no longer has the fd that the event was registered on. git-svn-id: http://www.varnish-cache.org/svn/trunk@2513 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
#ifdef, which we retain for really heavy duty instrumentation, should we ever need that. git-svn-id: http://www.varnish-cache.org/svn/trunk@2512 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@2511 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@2510 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
instead of #ifdef DIAGNOSTICS for control. Also reduce VSL mutex cost by 50% for the common case where we have a worker thread: We did a WSL_Flush() followed by a VSL(), doing a WSL() before the WSL_FLush saves one VSL mutex op. git-svn-id: http://www.varnish-cache.org/svn/trunk@2509 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
us, instead of the #ifdef DIAGNOSTICS which is always not there when you need it or there when you don't want it. git-svn-id: http://www.varnish-cache.org/svn/trunk@2508 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@2507 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@2506 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 17 Feb, 2008 10 commits
-
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@2505 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
Also, clean up some variable names and declarations. git-svn-id: http://www.varnish-cache.org/svn/trunk@2502 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
- modify thread_log() to take an "errcode" argument (typically errno) so we don't have to sprinkle the code with strerror() calls. - read_line() and read_block() would sometimes unnecessarily log an error for a short read; let the caller decide whether a short read is acceptable. - reorder the if / else if / else blocks in receive_response() so the logic is easier to follow. - remove test code which we no longer need. - fix some style issues; there are still a couple of long lines, though. git-svn-id: http://www.varnish-cache.org/svn/trunk@2501 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@2500 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@2499 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@2498 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@2497 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@2494 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@2493 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@2492 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 16 Feb, 2008 1 commit
-
-
Dag Erling Smørgrav authored
any harm, but I still want to catch it early so we get a log entry for it. git-svn-id: http://www.varnish-cache.org/svn/trunk@2491 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 15 Feb, 2008 13 commits
-
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@2490 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@2489 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@2488 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@2487 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@2486 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@2485 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@2484 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@2483 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
Account for the HTTP bits we do know about and handle. Ignore return value from shutdown(2) git-svn-id: http://www.varnish-cache.org/svn/trunk@2482 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@2481 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@2480 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
error messages based on the value of the integer. git-svn-id: http://www.varnish-cache.org/svn/trunk@2479 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
Protect macros with do {....} while(0) git-svn-id: http://www.varnish-cache.org/svn/trunk@2478 d4fa192b-c00b-0410-8231-f00ffab90ce4
-