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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]