Commit 18c787cc authored by Alex Wenckus's avatar Alex Wenckus Committed by alex

Add sync block where a race condition may occur

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@5962 b35dd754-fafc-0310-a699-88a17e54d16e
parent 5dfdf1c4
...@@ -108,7 +108,9 @@ public class HttpBindServlet extends HttpServlet { ...@@ -108,7 +108,9 @@ public class HttpBindServlet extends HttpServlet {
if (connection == null) { if (connection == null) {
return false; return false;
} }
synchronized (connection.getSession()) {
respond(response, connection); respond(response, connection);
}
return true; return true;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment