Hi!
Is it ever possible to change stream's default timeout on server-side
after receiving incoming request, i.e. do this using
Mojolicious::Controller object $c?
This:
Mojo::IOLoop->stream($c->tx->connection)->timeout(...);
works for normal requests but fails (stream() returns undef) for internal
blocking requests executed while running tests.
I think this happens because internal blocking requests use another
poll-based event loop instead of EV-based Mojo::IOLoop->singleton, but I
didn't see a way to get that loop object (used by $c->tx).
--
WBR, Alex.
--
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.