So while working on a FCGI thing, I came across a very, very weird if statement:

                        try {
                                var parsed = htparser.execute(buffer, start, 
len);
                                console.log("-> Parsed message:",parsed);
                                if(parsed.message == "Parse Error" && 
("bytesParsed" in parsed)) {
                                        _current.resp.write(buffer.slice(start 
+ parsed.bytesParsed, start + len));
                                }
                        }
                        catch(ex) {
                                _current.cb(ex);
                        }

This looked so off, that I added this console.log statement to read whats up. 
Result:

-> Parsed message: { [Error: Parse Error] bytesParsed: 0, code: 
'HPE_INVALID_METHOD‘ }

So I went and traced this error constant…and found:

http://www.chmod777self.com/2013/08/sigh.html 
<http://www.chmod777self.com/2013/08/sigh.html>

Good lord, please tell me this is no longer true? If so, this is rather 
embarrassing… xD

Kind regards, Ingwie

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/D075073A-7411-4E79-80D4-7C5F00E3DD6A%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to