I'm writting a proxy like program, upon request using http::daemon I use LWP::UserAgent to grab the file and deliver it in 4096 byte pieces. That works fine, but if the user cancels the download, I'm still sending the file. Does anyone know how to find out if the use cancels?