mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 20:30:23 +00:00
![]() Only go for keep-alive if they submit a 'connection: keep-alive' header in the request, keep behaviour the same otherwise. The new RFC 7230 (http://tools.ietf.org/html/rfc7230#section-6.3) states: If the received protocol is HTTP/1.0, the "keep-alive" connection option is present, the recipient is not a proxy, and the recipient wishes to honor the HTTP/1.0 "keep-alive" mechanism, the connection will persist after the current response; Even though clients are discouraged from doing so in Appendix A.1.2 (http://tools.ietf.org/html/rfc7230#appendix-A.1.2) |
||
---|---|---|
.. | ||
handlers | ||
http_SUITE_data | ||
ws_SUITE_data | ||
cover.spec | ||
cowboy_ct_hook.erl | ||
cowboy_error_h.erl | ||
cowboy_test.erl | ||
eunit_SUITE.erl | ||
http_SUITE.erl | ||
loop_handler_SUITE.erl | ||
spdy_SUITE.erl | ||
ws_SUITE.erl |