about summary refs log tree commit homepage
path: root/lib/rainbows/error.rb
DateCommit message (Collapse)
2010-07-10doc: avoid documenting internals on RDoc website
Since we suck at building websites, we just rely on RDoc as a website builder. And since Rainbows! is an application server (and not a programming library), our internal API should be of little interest to end users. Anybody interested in Rainbows! (or any other project) internals should be reading the source.
2010-02-27TCPSocket#peeraddr may raise ENOTCONN
Since we deal with untrusted/non-local clients, those clients may disconnect at inopportune times and leave us with ENOTCONN when we try to call getpeername(2)
2009-12-19error: (trivial) remove unnecessary whitespace
2009-12-16cleanup: consolidate write_nonblock error handling
2009-12-04do not log IOError raised during app processing
A client disconnect could possibly trigger IOError on close whereas EOFError does not occur.
2009-11-26cleanup and refactor error handling
Make sure app errors get logged correctly, and we no longer return a 500 response when a client EOFs the write end (but not the read end) of a connection.