#1355 server_epoll: Sometimes takes very long to shut down

Reporter Zash
Owner Nobody
Created
Updated
Stars ★ (1)
Tags
  • Status-Accepted
  • Type-Defect
  • Priority-Medium
  1. Zash on

    What steps will reproduce the problem? 1. Start prosody with server_epoll 2. Open some connections 3. Shut down (ie ^C) What is the expected output? Shuts down after closing all connections What do you see instead? Stalls in shutdown What version of the product are you using? trunk Please provide any additional information below. I randomly stumbled upon this at some point and determined that it was not setting a timeout for some states of a connection, leaving it to wait until a timeout occurs in the kernel/tcp system.

New comment

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