stream-ssl: Only re-read certificates and keys if they change.
authorBen Pfaff <blp@nicira.com>
Wed, 24 Mar 2010 20:15:41 +0000 (13:15 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 24 Mar 2010 23:52:07 +0000 (16:52 -0700)
commit9cb0788702e6187eafccabba0758095ced04552c
tree8072aa1e76da5e83a7530752573f64be3a6f4834
parent5c43922c13983d2b5addf9e6dd3f54a006c568a6
stream-ssl: Only re-read certificates and keys if they change.

Commit 415f6c0b1 "stream-ssl: Make no-op reconfiguration cheap" caused
ovsdb-server to re-read its certificates and keys every 60 seconds just
in case they changed.  However, doing this causes OpenSSL to drop its
connections.  This commit solves the problem by making stream-ssl re-read
certificates and keys only if the files changed.

Bug #2535.
Reported-by: Ram Jothikumar <rjothikumar@nicira.com>
configure.ac
lib/stream-ssl.c