doc/rdoc/classes/Mongrel/HttpResponse.src/M000082.html in mongrel-0.3.13.4 vs doc/rdoc/classes/Mongrel/HttpResponse.src/M000082.html in mongrel-1.0

- old
+ new

@@ -3,18 +3,19 @@ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> - <title>finished (Mongrel::HttpResponse)</title> + <title>socket_error (Mongrel::HttpResponse)</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" /> </head> <body class="standalone-code"> - <pre> <span class="ruby-comment cmt"># File lib/mongrel.rb, line 467</span> -467: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">finished</span> -468: <span class="ruby-identifier">send_status</span> -469: <span class="ruby-identifier">send_header</span> -470: <span class="ruby-identifier">send_body</span> -471: <span class="ruby-keyword kw">end</span></pre> + <pre> <span class="ruby-comment cmt"># File lib/mongrel.rb, line 483</span> +483: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">socket_error</span>(<span class="ruby-identifier">details</span>) +484: <span class="ruby-comment cmt"># ignore these since it means the client closed off early</span> +485: <span class="ruby-ivar">@socket</span>.<span class="ruby-identifier">close</span> <span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">Object</span> +486: <span class="ruby-identifier">done</span> = <span class="ruby-keyword kw">true</span> +487: <span class="ruby-identifier">raise</span> <span class="ruby-identifier">details</span> +488: <span class="ruby-keyword kw">end</span></pre> </body> </html> \ No newline at end of file