#1449 mod_c2s attempts to process data after session close

Reporter MattJ
Owner Nobody
Stars ★★ (2)
  • Status-Accepted
  • Priority-Medium
  • Type-Defect
  1. MattJ on

    What steps will reproduce the problem? 1. connect a c2s session 2. perform an async operation that blocks the thread 3. disconnect the c2s session 4. complete the async operation and resume the thread What is the expected output? Some to-be-determined failure. What do you see instead? Oct 16 12:20:37 general error Top-level error, please report: ./net/http.lua:45: plugins/mod_c2s.lua:228: attempt to index field 'conn' (a nil value) Oct 16 12:20:37 general error stack traceback: [C]: in function 'loop' ./net/server_event.lua:763: in function <./net/server_event.lua:762> [C]: in function 'xpcall' ./prosody:80: in function 'loop' ./prosody:90: in main chunk [C]: ? What version of the product are you using? On what operating system? 906ea5e1ec75

New comment

Not published. Used for spam prevention and optional update notifications.