https://bz.apache.org/bugzilla/show_bug.cgi?id=62626
--- Comment #4 from jan.pfei...@centrum.cz --- (In reply to Christopher Schultz from comment #3) Current configuration is for HTTP/2 so APR+openSSL <Connector port="443" protocol="org.apache.coyote.http11.Http11AprProtocol" maxThreads="150" SSLEnabled="true"> <UpgradeProtocol className="org.apache.coyote.http2.Http2Protocol" compression="on" /> <SSLHostConfig> <Certificate certificateKeyFile="*.pem" certificateFile="*.pem" certificateChainFile="*.pem" type="RSA" /> </SSLHostConfig> </Connector> I am using Spring framework, so only "direct write" is when i manualy read images and write them to the response output stream. There is also synchronized block where current thread checks if requested image is being resized. if so then it waits on task to finish. Actual code: //tasks is ConcurentHashMap try { String syncKey = target.getAbsolutePath(); Thread task; synchronized (this) { task = tasks.get(syncKey); if (task == null && !target.exists()) { //debug("START", request); ResizeTask resizeTask = new ResizeTask(source, target, size); resizeTask.setDebug(isDebug); resizeTask.setLink(getFullURL(request)); task = new Thread(resizeTask); tasks.put(syncKey, task); task.start(); } } if(task != null) task.join(); tasks.remove(syncKey); //debug("FINISH "+(System.currentTimeMillis() - time), request); } catch (InterruptedException e) { e.printStackTrace(); } But it seems lower level problem. To answer your question, yes i can try NIO(2) jsse/openssl. -- 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