+119
−169
+2
−0
+18
−11
+22
−24
+2
−3
Loading
Also, rework dataflow between the client and listener threads. Now, the adding/removing socket and shutdown commands to the listener are all blocking for the client thread, which eliminates a few race conditions for freeing SSL resources. Previously, rapidly adding/removing the same socket could potentially cause problems.