https://bz.apache.org/bugzilla/show_bug.cgi?id=58463
--- Comment #2 from Conor Gallagher <cjbo...@gmail.com> --- (In reply to Remy Maucherat from comment #1) > This sort of "bug" report is extremely bad, as it can lead to introducing > bugs into Tomcat. Please research the topic before filing this. I can see the argument for the existence of this gate. The specification states: Non-blocking IO only works with async request processing in Servlets and Filters (as defined in Section 2.3.3.3, “Asynchronous processing” on page 2-10), and upgrade processing (as defined in Section 2.3.3.5, “Upgrade Processing” on page 2-20). Otherwise, an IllegalStateException must be thrown when ServletInputStream.setReadListener or ServletOutputStream.setWriteListener is invoked. Would checking if asyncSupported is set to true not be enough to satisfy this requirement? -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org