You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Cliff Jansen (JIRA)" <ji...@apache.org> on 2012/05/18 01:55:06 UTC

[jira] [Created] (QPID-4008) tcpNoDelay connection setting causes fatal exception on Windows

Cliff Jansen created QPID-4008:
----------------------------------

             Summary: tcpNoDelay connection setting causes fatal exception on Windows
                 Key: QPID-4008
                 URL: https://issues.apache.org/jira/browse/QPID-4008
             Project: Qpid
          Issue Type: Bug
          Components: C++ Client
    Affects Versions: 0.16, 0.17
         Environment: Windows
            Reporter: Cliff Jansen
            Assignee: Cliff Jansen
             Fix For: 0.17


For example "qpid-perftest --tcp-nodelay" terminates abnormally when opening its first connection.

The Windows implementation of Socket::setTcpNoDelay lacks a check for INVALID_SOCKET and so fails before the connection is open.  It should set "nodelay=true" and return to set the option correctly later from Socket::createSocket.  This is the logic in the Linux implementation.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


[jira] [Resolved] (QPID-4008) tcpNoDelay connection setting causes fatal exception on Windows

Posted by "Cliff Jansen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-4008?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Cliff Jansen resolved QPID-4008.
--------------------------------

    Resolution: Fixed

Fixed: r1339927
                
> tcpNoDelay connection setting causes fatal exception on Windows
> ---------------------------------------------------------------
>
>                 Key: QPID-4008
>                 URL: https://issues.apache.org/jira/browse/QPID-4008
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Client
>    Affects Versions: 0.16, 0.17
>         Environment: Windows
>            Reporter: Cliff Jansen
>            Assignee: Cliff Jansen
>             Fix For: 0.17
>
>
> For example "qpid-perftest --tcp-nodelay" terminates abnormally when opening its first connection.
> The Windows implementation of Socket::setTcpNoDelay lacks a check for INVALID_SOCKET and so fails before the connection is open.  It should set "nodelay=true" and return to set the option correctly later from Socket::createSocket.  This is the logic in the Linux implementation.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org