node-fastcgi-parser icon indicating copy to clipboard operation
node-fastcgi-parser copied to clipboard

initialization of HTTPParser in node-php

Open jsen- opened this issue 13 years ago • 1 comments

Hi, the constructor of HTTPParser and HTTPParser.reinitialize should be called with a parameter HTTPParser.RESPONSE instead of "RESPONSE". This took me a few hours to figure out so, if someone uses the php server script in lib directory, might come in handy :)

jsen- avatar Mar 23 '12 00:03 jsen-

Hi @billywhizz , If possible, please add the chagen Jsen suggested - I spent days on the same issue before checking his comment here. Good job anyways mate!!

@jsen- , Tks for that mate!

Cheers

maatthc avatar Jul 14 '15 05:07 maatthc