[master] 3e53135 SC_ is for session close, so it imples SESS_

Nils Goroll nils.goroll at uplex.de
Mon Mar 16 15:06:42 CET 2015


commit 3e53135cb4975ce2494d3923d07ee92c99754a49
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Mon Mar 16 15:06:29 2015 +0100

    SC_ is for session close, so it imples SESS_

diff --git a/bin/varnishd/cache/cache_session.c b/bin/varnishd/cache/cache_session.c
index b374dce..f6868e8 100644
--- a/bin/varnishd/cache/cache_session.c
+++ b/bin/varnishd/cache/cache_session.c
@@ -300,7 +300,7 @@ SES_Wait(struct sess *sp)
 	sp->waited.idle = sp->t_idle;
 	if (Wait_Enter(pp->http1_waiter, &sp->waited)) {
 		VSC_C_main->sess_pipe_overflow++;
-		SES_Delete(sp, SC_SESS_PIPE_OVERFLOW, NAN);
+		SES_Delete(sp, SC_PIPE_OVERFLOW, NAN);
 	}
 }
 
diff --git a/include/tbl/sess_close.h b/include/tbl/sess_close.h
index 8930b74..99b9f38 100644
--- a/include/tbl/sess_close.h
+++ b/include/tbl/sess_close.h
@@ -42,6 +42,6 @@ SESS_CLOSE(TX_ERROR,		"Error transaction")
 SESS_CLOSE(TX_EOF,		"EOF transmission")
 SESS_CLOSE(RESP_CLOSE,		"Backend/VCL requested close")
 SESS_CLOSE(OVERLOAD,		"Out of some resource")
-SESS_CLOSE(SESS_PIPE_OVERFLOW,	"Session pipe overflow")
+SESS_CLOSE(PIPE_OVERFLOW,	"Session pipe overflow")
 
 /*lint -restore */



More information about the varnish-commit mailing list