Hi,

I have a user-agent script that subscribes to events of
Mojo::IOLoop::Stream:

https://gist.github.com/augensalat/caad97c62fb375dd4f4c

The read- and write-event subscribers are counting the number of
transmitted bytes.

My expectation was to see one or more write events, followed by one or more
read events, then a close event, and finally the request callback that
shows the amout of transmitted data.
But when I run this script, the (last) read event happens after the close
event and after the request callback.

Am I doing it wrong?
How can this be fixed?

Bernhard

-- 
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.

Reply via email to