action = suspended(req, res);
if (action.type() == Action.TYPE.SUSPEND && req.getAttribute(FrameworkConfig.CANCEL_SUSPEND_OPERATION) == null) {
c = getContinuation(req);
req.setAttribute(Continuation.class.getName(), c);
if (action.timeout() != -1) {
c.setTimeout(action.timeout());
} else {
// Jetty 7 does something really weird if you set it to
// Long.MAX_VALUE, which is to resume automatically.
c.setTimeout(Integer.MAX_VALUE);