…nt-CLEAN Fix Rakefile to prevent 'uninitialized constant CLEAN'
Ensuring body.close will be called.
(Fixes #69) Remove --ssl-verify and provide peer_cert
…rsions. Also name version 1.6.1 Death Proof.
The get_peer_cert method of EM doesn't return anything unless the cert has been verified. The --ssl-verify option of thin actually doesn't do anything. These two behaviors combined mean that env['rack.peer_cert'], which was introduced in thin 1.2.8, always returns nil. Since --ssl-verify never actually caused a verification to happen, it is better to remove that option until a fully verification process is put in place. However, the peer_cert can be made available in --ssl mode by always "verifying" the cert, thereby providing the client supplied certificate, if there is one, available in env['rack.peer_cert'].
Add change log entry.
Signal handling is done at one second intervals using an EM timer.
This patch enhances the logging functionality in a few ways, namely: 0. Separate the request tracing from logging 1. logging level is now user controllable a. user can specify custom logger, thereby controlling how+where (level+file) messages are logged to. 2. tracing is individually controllable a. user can specify custom trace logger, getting all the benefits as stated above. This patch retains the old logging mechanism (via the new log_<level> mechanism. The old mechanism, if used, emits deprecation warnings to stderr. Of course, logging unit tests have been changed to test this new functionality.
inside a running loop. Eg.: EM.run server = Thin::Server.start(3000) # This will NOT call EM.stop because Thin was started inside a # running loop. server.stop end
Specs have been removed.