diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2009-06-04 13:46:08 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2009-06-04 13:46:08 +0000 |
commit | 639ae338e755ef67530855afa922424301d2b8d4 (patch) | |
tree | 930fc4f8185ff6cb03dc9e8121846115f59e157c /usr.sbin/relayd/hce.c | |
parent | 12646fb401861d759c49645b6be10d23988de7e4 (diff) |
Keep around the SSL session for each checked host. This way SSL
caching can kick in on subsequent checks, making them faster and
lighter on the server.
From camield, closes PR 6137 (modified diff)
Diffstat (limited to 'usr.sbin/relayd/hce.c')
-rw-r--r-- | usr.sbin/relayd/hce.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/relayd/hce.c b/usr.sbin/relayd/hce.c index f85b7eca36c..60c448465ca 100644 --- a/usr.sbin/relayd/hce.c +++ b/usr.sbin/relayd/hce.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hce.c,v 1.49 2009/06/02 12:24:16 reyk Exp $ */ +/* $OpenBSD: hce.c,v 1.50 2009/06/04 13:46:07 reyk Exp $ */ /* * Copyright (c) 2006 Pierre-Yves Ritschard <pyr@openbsd.org> @@ -254,7 +254,6 @@ hce_launch_checks(int fd, short event, void *arg) break; default: /* Any other TCP-style checks */ - bzero(&host->cte, sizeof(host->cte)); host->last_up = host->up; host->cte.host = host; host->cte.table = table; |