We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c4ca553 commit 85dd5e7Copy full SHA for 85dd5e7
src/main/java/robaho/net/httpserver/ServerImpl.java
@@ -420,13 +420,13 @@ private void acceptConnection(Socket s) throws IOException {
420
421
if (http2) {
422
Http2Exchange t = new Http2Exchange(protocol, c);
423
- executor.execute(t);
+ t.run();
424
} else {
425
Exchange t = new Exchange(protocol, c);
426
427
}
428
- } catch (Exception e) {
429
- logger.log(Level.TRACE, "Dispatcher Exception", e);
+ } catch (Throwable t) {
+ logger.log(Level.WARNING, "Dispatcher Exception", t);
430
stats.handleExceptionCount.incrementAndGet();
431
closeConnection(c);
432
0 commit comments