axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Juergen Haeussler (JIRA)" <j...@apache.org>
Subject [jira] Created: (AXIS2C-623) axis2c sets deprecated win32 socket options that avoid subsequent opening of sockets
Date Fri, 22 Jun 2007 09:12:25 GMT
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


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