A hail mary to fix the deadlocking of request/responses in https over the internet (slow connections). Not sure if this will work at all.
Tried to fix the null target exception (very strange since it should be possible) in the ThreadService.
This commit is contained in:
@@ -2074,10 +2074,12 @@ public class WebServer {
|
||||
if(activeThreadCount-- != maxThreadCount) {
|
||||
loop = false;
|
||||
|
||||
if(requiresWakeup) {
|
||||
selector.wakeup();
|
||||
}//if//
|
||||
// if(requiresWakeup) {
|
||||
// selector.wakeup();
|
||||
// }//if//
|
||||
}//if//
|
||||
|
||||
selector.wakeup();
|
||||
}//synchronized//
|
||||
}//finally//
|
||||
}//else if//
|
||||
|
||||
Reference in New Issue
Block a user