postrank-labs/goliath

Process killed by Exception

hghdo opened this issue · 1 comments

Hi

I had used goliath for about 1 year and everything is OK, thanks a lot! But recently my goliath process was broken for some unknown issue. I found the last output of is:
"ruby: ryah_http_parser.c:420: parse_url_char: Assertion `!((*__ctype_b_loc ())[(int) ((ch))] & (unsigned short int) _ISspace)' failed."

I had google the error output and found this page: tmm1/http_parser.rb#40 (comment)

So i'm wandering how to fix this problem.
Or is there any method that I can do to ignore this kind of http request and prevent goliath process from being killed.

Thanks

Prevent the request: no, not easily. I think the most immediate fix is to apply the linked patch(es) to the http_parser.rb gem. Once @tmm1 merges those changes, we'd just update the version dependency on this end.