From 9293b0570315b2e0e08710f388de8a607d9d9beb Mon Sep 17 00:00:00 2001 From: Andy Green Date: Sun, 23 Jan 2011 17:53:54 +0000 Subject: [PATCH] document-new-config-options.patch Signed-off-by: Andy Green --- README-test-server | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README-test-server b/README-test-server index 811e0a6..9a48db2 100644 --- a/README-test-server +++ b/README-test-server @@ -9,12 +9,30 @@ needed: otherwise if /usr/local/... and /usr/local/lib are OK then... $ ./configure --enable-openssl +$ make clean $ make $ sudo make install $ libwebsockets-test-server should be enough to get a test server listening on port 7861. +There are a couple of other possible configure options + +--enable-nofork disables the fork into the background API + and removes all references to fork() and + pr_ctl() from the sources. Use it if your + platform doesn't support forking. + +--enable-libcrypto by default libwebsockets uses its own + built-in md5 and sha-1 implementation for + simplicity. However the libcrypto ones + may be faster, and in a distro context it + may be highly desirable to use a common + library implementation for ease of security + upgrades. Give this configure option + to disable the built-in ones and force use + of the libcrypto (part of openssl) ones. + Testing server with a browser ----------------------------- -- 2.7.4