Finally figured out how to suppress the ReadPendingException from Jetty.
Something¹ seems to interrupt the HTTP duplex service thread, and Jetty apparently deals poorly with interruptions. So introduce an extra sleep to soak up the interrupt. ¹Who? http://stackoverflow.com/questions/2126997/who-is-calling-the-java-thread-interrupt-method-if-im-not#comment40865453_2127397
Showing
想要评论请 注册 或 登录