couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Newson <rnew...@apache.org>
Subject Re: Documented API does not work.
Date Tue, 25 Dec 2012 10:59:15 GMT
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 <rnewson@apache.org> 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 <scotty2541@sbcglobal.net> 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 <mark@hahnca.com> wrote:
>>
>> If the server crashes, it's a vulnerability that needs to be fixed.
>>
>> Then fix it.

Mime
View raw message