https://bz.apache.org/bugzilla/show_bug.cgi?id=58313
--- Comment #1 from Mark Thomas <ma...@apache.org> --- I agree that this is an issue. A switch to ConcurrentHashMap should address the immediate problem. The idea behind clearEncoders() is a good one. The encoders are expensive objects and don't scale well. We don't really want to keep the Map around during an async request. On the otherhand, we don't really want to have to keep re-creating it. I'm wondering about ways to improve the currenty approach. I'm going to do some simple testing to see how an approach based on pools of encoders would perform. -- 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