diff options
author | Andy Green <andy@warmcat.com> | 2011-01-23 17:53:54 +0000 |
---|---|---|
committer | Andy Green <andy@warmcat.com> | 2011-01-23 17:53:54 +0000 |
commit | 9293b0570315b2e0e08710f388de8a607d9d9beb (patch) | |
tree | 0a0ddc0a4dab4e21838de9d0676798b07ebc214f | |
parent | 7619c47e9c704ba96295d86c249bbc82406e80cc (diff) |
document-new-config-options.patch
Signed-off-by: Andy Green <andy@warmcat.com>
-rw-r--r-- | README-test-server | 18 |
1 files changed, 18 insertions, 0 deletions
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 ----------------------------- |