view mod_smacks_noerror/mod_smacks_noerror.lua @ 4537:53ee391ca689

mod_smacks: Fix traceback due to session being destroyed in send() Sending something can cause the OS to notice that the connection is dead and then the connection can be dead at this point. More likely if opportunistic_writes is enabled.
author Kim Alvefur <zash@zash.se>
date Thu, 01 Apr 2021 11:35:26 +0200
parents e7dc25e54d02
children
line wrap: on
line source

-- this module is deprecated, log an error and load the superseding modules instead
module:depends"smacks"
module:depends"nooffline_noerror"

module:log("error", "mod_smacks_noerror is deprecated! Just use mod_smacks and load mod_nooffline_noerror if you explicitly disabled offline storage (mod_offline)");