[jboss-jira] [JBoss JIRA] Commented: (JBWEB-154) comet + SSL doesn't work with a test application

Jean-Frederic Clere (JIRA) jira-events at lists.jboss.org
Mon Dec 7 04:04:29 EST 2009


    [ https://jira.jboss.org/jira/browse/JBWEB-154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12498526#action_12498526 ] 

Jean-Frederic Clere commented on JBWEB-154:
-------------------------------------------

Quick hack for the write part:
+++
                 case SSL_ERROR_WANT_READ:
                 case SSL_ERROR_WANT_WRITE:
                     if ((rv = wait_for_io_or_timeout(con, i)) != APR_SUCCESS) {
-                        con->shutdown_type = SSL_SHUTDOWN_TYPE_UNCLEAN;
+                        if (rv == APR_TIMEUP) {
+                            *len = 0;
+                            return APR_SUCCESS;
+                        } else {
+                            con->shutdown_type = SSL_SHUTDOWN_TYPE_UNCLEAN;
+                        }
                         return rv;
                     }
                 break;
+++

> comet + SSL doesn't work with a test application
> ------------------------------------------------
>
>                 Key: JBWEB-154
>                 URL: https://jira.jboss.org/jira/browse/JBWEB-154
>             Project: JBoss Web
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>         Environment: Test client using chunked encoding and SSL 
>            Reporter: Jean-Frederic Clere
>            Assignee: Remy Maucherat
>            Priority: Minor
>
> The send blocks and return error when the OS buffer is full (seems a native problem: src/sslnetwork.c).
> The read blocks because 2 different threads gets a read event from poll. One works and the other is blocked.

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

        



More information about the jboss-jira mailing list