Method: Mongrel::HttpParser#error?

Defined in:
ext/http11/http11.c

#error?Boolean

Tells you whether the parser is in an error state.

Returns:

  • (Boolean)


325
326
327
328
329
330
331
# File 'ext/http11/http11.c', line 325

VALUE HttpParser_has_error(VALUE self)
{
  http_parser *http = NULL;
  DATA_GET(self, http_parser, http);

  return http_parser_has_error(http) ? Qtrue : Qfalse;
}