class
ActionController::Server::HTTPServer
- ActionController::Server::HTTPServer
- HTTP::Server
- Reference
- Object
Overview
An HTTP::Server that disables Nagle's algorithm on its TCP listeners.
Accepted connections inherit TCP_NODELAY from the listening socket. Without
it a small write that follows an earlier write on a keep-alive connection,
such as the terminating chunk of a flushed response, waits for the client's
delayed ACK (about 40ms on Linux). Every bind_* method, including TLS,
binds through #bind(Socket::Server).
Defined in:
action-controller/server.crInstance Method Summary
-
#bind(socket : Socket::Server) : Nil
Adds a
Socket::Serversocket to this server.
Instance Method Detail
def bind(socket : Socket::Server) : Nil
#
Description copied from class HTTP::Server
Adds a Socket::Server socket to this server.