>
> [error] Event "read" failed: Can't call method "res" on an undefined value
> at /Library/Perl/5.16/Mojolicious/Controller.pm line 221
>
This happens when the browser closes the connection before a non-blocking
operation on the server can render a response. The transaction object is
weakened (to avoid memory leaks) and vanishes with the connection, so the
render call in the callback fails.
https://github.com/kraih/mojo/blob/master/lib/Mojolicious.pm#L131
We've been looking for a better solution for a very long time, but nothing
worked out so far.
--
sebastian
--
You received this message because you are subscribed to the Google Groups
"Mojolicious" 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].
Visit this group at http://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.