Changeset [ddd91ee85fd9c8fa53313bbb09216227001a0089] by Tim Shadel

January 20th, 2011 @ 08:54 PM

Allow the connection to remain open for 1xx statuses

Both the 100 and 101 status codes require that the connection to the
server remain open. The 100 status code is used to tell the client that
the server is still receiving its request, and will continue to read
request input on the connection. The 101 status code is used to upgrade
the existing connection to another protocol, and specifically is NOT
used to upgrade a separate connection. Therefore, the connection must
remain open after this response in order to facilitate that.

RDoc and tests updates included.

Signed-off-by: Tim Shadel github@timshadel.com
https://github.com/macournoyer/thin/commit/ddd91ee85fd9c8fa53313bbb...

Committed by Tim Shadel

  • M lib/thin/response.rb
  • M spec/response_spec.rb
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป