[Catalyst] Detect client disconnection

Robert Brown rob at intelcompute.com
Fri Mar 11 12:29:29 GMT 2016


Hi,

I stream data from mysql via my app, which is usually gigabytes-worth.

Using "mysql_use_result" to stream the data immediately when it's available.

Is there a mechanism in Catalyst to catch a disconnection by the client?

Otherwise the command on mysql is left running to completion.

(I feel like I've asked/fixed this issue before, but can't find any 
trace of it).

Thanks,
Rob




More information about the Catalyst mailing list