When the worker exits, it can use some special exit codes to indicate to the main process what kind of termination is happening. This is then used to control parent behaviour. Unfortunately if a FastCGI uses the same codes it can inadvertently kill the parent. This patch fixes this problem. Signed-off-by: Daniel Silverstone <firstname.lastname@example.org>
…ler_tmi Conflicts: cherokee/header.c
…y in certain cases.
This handler receives HTTP POST messages, and sends these messages over an ZeroMQ channel to a broker. This allows an ordinary webserver to receive messages, while the distribution is happening outside the realm of the webserver. Currently handler_zeromq is implemented as PUSH socket.
This patch adds support for generating a SnakeOil SSL key during the QA suite if the system has openssl. It can take a little while on lower-powered systems but on anything modern it should barely be noticable. This means we can cause the SSL tests to be run if the server was built with OPENSSL support. In addition we fix the TLS port to be bound to 127.0.0.1 which fixes 073's behaviour in SSL mode on an IPv6 enabled host. Signed-Off-By: Daniel Silverstone <email@example.com>
By ensuring that the SHA1 and SHA512 code in Cherokee does not stomp on symbols provided by libssl, we prevent a problem where the relative sizes of the structs means that Cherokee's SHA512 operations break SSL handshakes. Signed-Off-By: Daniel Silverstone <firstname.lastname@example.org>
this hack takes care not only for the test to pass, but also makes sure we are not redirecting to http if we are on https.