This is a problem of Webrick. you can use "Thin" instead.
Add this to Gemfile
gem 'thin'
then rails s
will use thin instead of Webrick, and the warn will disappear.
Patch mentioned by Amiel Martin works for me! Just find your webrick path (ex., c:\Ruby\lib\ruby\1.9.1\webrick\ on Windows) and change httpresponse.rb file as described in https://bugs.ruby-lang.org/attachments/2300/204_304_keep_alive.patch
And don't forget restart Webrick!
This patch for WEBrick is also reported to work:
https://bugs.ruby-lang.org/attachments/2300/204_304_keep_alive.patch
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With