about summary refs log tree commit diff
path: root/bounce.h
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-11-20 17:43:51 -0500
committerJune McEnroe <june@causal.agency>2020-11-20 17:43:51 -0500
commitfaebbec64b4b36f608dbb0af20b5763ba1281b9b (patch)
treed15f99eff59f0cd2de23700aa78da3b76a82ee0d /bounce.h
parentOnly allow clients to AUTHENTICATE if using a cert (diff)
downloadpounce-faebbec64b4b36f608dbb0af20b5763ba1281b9b.tar.gz
pounce-faebbec64b4b36f608dbb0af20b5763ba1281b9b.zip
Add lazy client registration timeout
I don't think this is worth adding a configuration option for since real
clients will definitely accomplish registration faster than 10s and it's
long enough to even type out manually for testing.
Diffstat (limited to 'bounce.h')
-rw-r--r--bounce.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/bounce.h b/bounce.h
index 5d6c4a2..d08f21f 100644
--- a/bounce.h
+++ b/bounce.h
@@ -195,6 +195,7 @@ struct Client {
 	bool error;
 	int sock;
 	struct tls *tls;
+	time_t time;
 	enum Need need;
 	enum Cap caps;
 	size_t consumer;