Hi!
While sync $ua->get() return $tx, async $ua->get() return stream's $id.
How I can get $tx from $id to change $tx->res->max_message_size() only for this
request?
P.S. One ugly hack just came into my mind is use:
$ua->once(start => sub { $_[1]->res->max_message_size(0) });
$ua->get($url, $delay->begin);
but I hope there are some better way.
--
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.