Skip to main content

[JIRA] Commented: (SERVLET_SPEC-44) Client close notification

  • From: "jfarcand (JIRA)" <jira-no-reply@...>
  • To: issues@...
  • Subject: [JIRA] Commented: (SERVLET_SPEC-44) Client close notification
  • Date: Wed, 24 Apr 2013 00:06:58 +0000 (UTC)
  • Auto-submitted: auto-generated


    [ 
https://java.net/jira/browse/SERVLET_SPEC-44?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=362290#action_362290
 ] 

jfarcand commented on SERVLET_SPEC-44:
--------------------------------------

I disagree. Any NIO layer can detect when the underlying connection is 
getting closed. Look at Grizzly/Tomcat NIO/Netty, they all able to handle 
that case.

> Client close notification
> -------------------------
>
>                 Key: SERVLET_SPEC-44
>                 URL: https://java.net/jira/browse/SERVLET_SPEC-44
>             Project: servlet-spec
>          Issue Type: Improvement
>            Reporter: jitu
>            Assignee: Shing Wai Chan
>
> There is *no* notification event for client close.
> Is it possible to add AsyncListener#onClose() when the client is 
> disconnected ? This will be
> useful for long running connections like server-sent events connection.
> On the other hand, SE socket API itself doesn't provide that option. So 
> there may be no way to get client close notification when there is no 
> pending i/o.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://java.net/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


[JIRA] Commented: (SERVLET_SPEC-44) Client close notification

jfarcand (JIRA) 04/24/2013
 
 
Close
loading
Please Confirm
Close