Class | Thin::Backends::Base |
In: |
lib/thin/backends/base.rb
|
Parent: | Object |
A Backend connects the server to the client. It handles:
You can create your own minimal backend by inheriting this class and defining the connect and disconnect method. If your backend is not based on EventMachine you also need to redefine the start, stop, stop! and config methods.
maximum_connections | [RW] | Maximum number of file or socket descriptors that the server may open. |
maximum_persistent_connections | [RW] | Maximum number of connections that can be persistent |
no_epoll | [RW] | Disable the use of epoll under Linux |
persistent_connection_count | [RW] | Number of persistent connections currently opened |
server | [RW] | Server serving the connections throught the backend |
ssl | [W] | Allow using SSL in the backend. |
ssl_options | [W] | Allow using SSL in the backend. |
threaded | [W] | Allow using threads in the backend. |
threadpool_size | [R] | allows setting of the eventmachine threadpool size |
timeout | [RW] | Maximum time for incoming data to arrive |