Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0006207 [Resin] minor always 12-18-18 19:09 01-15-19 15:19
Reporter mikeb01 View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 4.0.59
Summary 0006207: ResinEmbed does not close server web socket connections on stop or destroy
Description Steps to reproduce

1) Start ResinEmbed with a Web Socket Servlet.
2) Connect a client to the Web Socket.
3) Class ResinEmbed.stop(), .close() or .destroy(). None of these methods will force resin to close the socket and the client connected in step 0000002 will not see a disconnection notification until the process containing the ResinEmbed exits.
Additional Information
Attached Files

- Relationships

- Notes
(0006863)
mikeb01
12-18-18 19:17

This appears to be a change in behaviour from the previous release. It would close the socket when running the same code on version 4.0.58.
 
(0006867)
ferg
01-15-19 15:19

Note: the purpose of the change was because of timing/threading issues with closing outstanding openssl connections at shutdown, leaving them to be closed during GC'd instead of a forced close. The fix attempts to close the file descriptor without incurring those openssl issues.
 

- Issue History
Date Modified Username Field Change
12-18-18 19:09 mikeb01 New Issue
12-18-18 19:17 mikeb01 Note Added: 0006863
01-15-19 15:19 ferg Note Added: 0006867
01-15-19 15:19 ferg Assigned To  => ferg
01-15-19 15:19 ferg Status new => closed
01-15-19 15:19 ferg Resolution open => fixed
01-15-19 15:19 ferg Fixed in Version  => 4.0.60


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
32 total queries executed.
28 unique queries executed.
Powered by Mantis Bugtracker