Add tlsticketupdate.go to EXTRA_DIST

This commit is contained in:
Tatsuhiro Tsujikawa 2015-07-29 21:18:16 +09:00
parent 0ed8ed3f8d
commit 762bafa47b
2 changed files with 5 additions and 4 deletions

View File

@ -23,7 +23,7 @@
configfiles = nghttpx-init nghttpx.service nghttpx-upstart.conf configfiles = nghttpx-init nghttpx.service nghttpx-upstart.conf
EXTRA_DIST = $(configfiles:%=%.in) nghttpx-logrotate EXTRA_DIST = $(configfiles:%=%.in) nghttpx-logrotate tlsticketupdate.go
edit = sed -e 's|@bindir[@]|$(bindir)|g' edit = sed -e 's|@bindir[@]|$(bindir)|g'

View File

@ -125,9 +125,10 @@ keep at most 12 keys.
If :option:`--tls-ticket-key-memcached` is given, encryption keys are If :option:`--tls-ticket-key-memcached` is given, encryption keys are
retrieved from memcached. nghttpx just reads keys from memcached; one retrieved from memcached. nghttpx just reads keys from memcached; one
has to deploy key generator program to update keys frequently (e.g., has to deploy key generator program to update keys frequently (e.g.,
every 1 hour). The memcached entry key is ``nghttpx:tls-ticket-key``. every 1 hour). The example key generator tlsticketupdate.go is
The data format stored in memcached is the binary format described available under contrib directory in nghttp2 archive. The memcached
below:: entry key is ``nghttpx:tls-ticket-key``. The data format stored in
memcached is the binary format described below::
+--------------+-------+----------------+ +--------------+-------+----------------+
| VERSION (4) |LEN (2)|KEY(48 or 80) ... | VERSION (4) |LEN (2)|KEY(48 or 80) ...