Not the tidiest fix but it works; https://git-wip-us.apache.org/repos/asf?p=couchdb.git;a=commitdiff;h=ffa34b2;hp=c4ee89eeff31501c5f90493e805324e6d437d8db
On 25 December 2012 10:01, Robert Newson <[email protected]> wrote: > Crashing a single erlang process is a far cry from crashing the server, Alex. > :) > > "Then fix it" > > Scott is right that we should return well-formed error responses and > not stack traces (We're not J2EE, for goodness sake) but some error > conditions get missed. Admonishing those that report errors is not > kind, nor in the spirit of our community. Omitting the leading slash > in the path of an HTTP request line is pretty unusual these days > (because it's mandatory and almost everyone uses a library of some > sort) but that's just a fancy way of saying it's a blind spot in our > (well, mochiweb's) error handling. Quite fixable. > > Merry Christmas! > > B. > > On 25 December 2012 04:53, Scott <[email protected]> wrote: >> See the pasted in log. It says 'crash'. But really appears to be an >> exception trap. >> Although I would expect to get an error in return for a malformed request. >> >> 'Sent from my iPhone'... Not someone else's. >> >> On Dec 24, 2012, at 9:54 PM, Mark Hahn <[email protected]> wrote: >> >> If the server crashes, it's a vulnerability that needs to be fixed. >> >> Then fix it.
