Skip to content

Commit 7b648f6

Browse files
authored
Fixes #7548 - Interrupt flag is not always cleared in between requests. (#7563)
Now clearing the interrupt flag. Signed-off-by: Simone Bordet <[email protected]>
1 parent e0788ab commit 7b648f6

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

jetty-util/src/main/java/org/eclipse/jetty/util/thread/ReservedThreadExecutor.java

+6-1
Original file line numberDiff line numberDiff line change
@@ -410,6 +410,11 @@ public void run()
410410
{
411411
LOG.warn("Unable to run task", e);
412412
}
413+
finally
414+
{
415+
// Clear any interrupted status.
416+
Thread.interrupted();
417+
}
413418
}
414419
}
415420
finally
@@ -431,4 +436,4 @@ public String toString()
431436
_thread);
432437
}
433438
}
434-
}
439+
}

0 commit comments

Comments
 (0)