Handling errors in Celluloid::IO

29 views
Skip to first unread message

Marcus Ilgner

unread,
Jun 22, 2016, 3:33:26 PM6/22/16
to Celluloid
Hi all,

I'm just starting to get acquainted with Celluloid::IO and am wondering how the TCPSocket and SSLSocket drop-ins behave in case of delivery problems. If the actual I/O operation happens on the actor thread, can one still handle timeouts, SSL errors or disconnects on the callers thread? On a related note: can you recommend a library that adds buffering and/or automatic reconnect to Celluloid-enabled TCP sockets?

All the best
Marcus

Tony Arcieri

unread,
Jun 23, 2016, 12:44:04 PM6/23/16
to cellulo...@googlegroups.com
Yes, unhandled exceptions are reraised in the caller's context

--
You received this message because you are subscribed to the Google Groups "Celluloid" group.
To unsubscribe from this group and stop receiving emails from it, send an email to celluloid-rub...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Tony Arcieri

Marcus Ilgner

unread,
Jun 23, 2016, 4:11:36 PM6/23/16
to Celluloid
On Thursday, 23 June 2016 18:44:04 UTC+2, Tony Arcieri wrote:
Yes, unhandled exceptions are reraised in the caller's context
 
Fantastic, that should make error handling straightforward then. Thanks a lot!
Reply all
Reply to author
Forward
0 new messages