mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Yannick Lecaillez
02.01.2016 f0b2b6acbf6762c4a37ad7dad5c41e04b42f37db
refs
author Yannick Lecaillez <yannick.lecaillez@forgerock.com>
Thursday, June 2, 2016 11:01 +0200
committer Yannick Lecaillez <yannick.lecaillez@forgerock.com>
Thursday, June 2, 2016 19:48 +0200
commitf0b2b6acbf6762c4a37ad7dad5c41e04b42f37db
tree 341d5ef54107e67a2365cce698aba0286eb24a8f tree | zip | gz
parent 4fc797d6a4c0e33640b49822c0d01cddec0de79d view | diff
Use the OpenDJ's worker-threads to process HTTP requests.

Inject a filter moving the processing of the HTTP requests from the
Grizzly NIO thread to the OpenDJ's worker thread. Previously this move
to worker thread was performed the ConnectionFactory.getConnection()
which is a bit too late since some blocking request processing
(i.e: authorization) were still performed in the NIO thread.
2 files modified
202 ■■■■■ changed files
opendj-server-legacy/src/main/java/org/forgerock/opendj/adapter/server3x/Adapters.java 102 ●●●● diff | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/server/protocols/http/HTTPConnectionHandler.java 100 ●●●●● diff | view | raw | blame | history