4445464748495051525354
catch (InterruptedException e) { throw new InterruptedIOException(); } if (cometSession != null) { cometSession.invalidate(); } else { if (!cometResponse.isTerminated()) { log("Sending terminate"); cometResponse.terminate();
979899100101102103104105106107
} catch (InterruptedException e) { throw new InterruptedIOException(); } } cometSession.invalidate(); } } catch (IOException e) { log("Error writing data", e); }
303132333435363738
CometSession cometSession = CometServlet.getCometSession(httpSession); if (cometSession == null) { return false; } cometSession.invalidate(); return true; } }