mirror of
https://github.com/jetty/jetty.project.git
synced 2025-02-28 19:09:10 +00:00
test chat fix
This commit is contained in:
parent
9fb8fbec14
commit
2e064351a1
@ -141,8 +141,7 @@ public class ChatServlet extends HttpServlet
|
||||
AsyncContext async = request.startAsync();
|
||||
async.setTimeout(asyncTimeout);
|
||||
async.addListener(member);
|
||||
if (!member._async.compareAndSet(null, async))
|
||||
throw new IllegalStateException();
|
||||
member._async.set(async);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user