axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manjula Peiris (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (AXIS2C-623) axis2c sets deprecated win32 socket options that avoid subsequent opening of sockets
Date Tue, 17 Jul 2007 03:12:05 GMT

     [ https://issues.apache.org/jira/browse/AXIS2C-623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Manjula Peiris resolved AXIS2C-623.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.1.0
         Assignee: Manjula Peiris

The two lines are already commented. Thanks Juergen for pointing out this.

> axis2c sets deprecated win32 socket options that avoid subsequent opening of sockets
> ------------------------------------------------------------------------------------
>
>                 Key: AXIS2C-623
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-623
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: transport/http
>    Affects Versions: 1.0.0, Current (Nightly), 1.1.0
>         Environment: Win32
>            Reporter: Juergen Haeussler
>            Assignee: Manjula Peiris
>             Fix For: 1.1.0
>
>         Attachments: citation_from_msdn.jpg
>
>
> In util/src/network_handler.c - lines 239-240 the default behaviour of socket creation
through windows API gets changed:
> setsockopt(INVALID_SOCKET, SOL_SOCKET, SO_OPENTYPE, (char *)&sock_opt,
> 	        sizeof(sock_opt));
> As you can find in the MSDN documentation for SOL_SOCKET Socket Options, one should not
use this options:
> http://msdn2.microsoft.com/en-us/library/ms740532.aspx
> This option avoids the subsequent opening of sockets by other APIs like Orbacus (Corba).
> As we did comment out these two lines, everything worked correctly.
> So we assumed that this code is obsolete.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


Mime
View raw message