zeroc-ice 3.6.0 → 3.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/ice/cpp/include/Ice/BuiltinSequences.h +2 -2
- data/ext/ice/cpp/include/Ice/Communicator.h +2 -2
- data/ext/ice/cpp/include/Ice/CommunicatorF.h +2 -2
- data/ext/ice/cpp/include/Ice/Connection.h +5 -9
- data/ext/ice/cpp/include/Ice/ConnectionF.h +2 -2
- data/ext/ice/cpp/include/Ice/Current.h +2 -2
- data/ext/ice/cpp/include/Ice/Endpoint.h +6 -11
- data/ext/ice/cpp/include/Ice/EndpointF.h +2 -2
- data/ext/ice/cpp/include/Ice/EndpointTypes.h +2 -2
- data/ext/ice/cpp/include/Ice/FacetMap.h +2 -2
- data/ext/ice/cpp/include/Ice/Ice.h +1 -0
- data/ext/ice/cpp/include/Ice/Identity.h +2 -2
- data/ext/ice/cpp/include/Ice/ImplicitContext.h +2 -2
- data/ext/ice/cpp/include/Ice/ImplicitContextF.h +2 -2
- data/ext/ice/cpp/include/Ice/Instrumentation.h +2 -2
- data/ext/ice/cpp/include/Ice/InstrumentationF.h +2 -2
- data/ext/ice/cpp/include/Ice/LocalException.h +2 -2
- data/ext/ice/cpp/include/Ice/Locator.h +2 -2
- data/ext/ice/cpp/include/Ice/LocatorF.h +2 -2
- data/ext/ice/cpp/include/Ice/Logger.h +2 -2
- data/ext/ice/cpp/include/Ice/LoggerF.h +2 -2
- data/ext/ice/cpp/include/Ice/Metrics.h +7 -14
- data/ext/ice/cpp/include/Ice/ObjectAdapter.h +2 -2
- data/ext/ice/cpp/include/Ice/ObjectAdapterF.h +2 -2
- data/ext/ice/cpp/include/Ice/ObjectFactory.h +2 -2
- data/ext/ice/cpp/include/Ice/ObjectFactoryF.h +2 -2
- data/ext/ice/cpp/include/Ice/Plugin.h +2 -2
- data/ext/ice/cpp/include/Ice/PluginF.h +2 -2
- data/ext/ice/cpp/include/Ice/Process.h +2 -2
- data/ext/ice/cpp/include/Ice/ProcessF.h +2 -2
- data/ext/ice/cpp/include/Ice/Properties.h +2 -2
- data/ext/ice/cpp/include/Ice/PropertiesAdmin.h +2 -2
- data/ext/ice/cpp/include/Ice/PropertiesF.h +2 -2
- data/ext/ice/cpp/include/Ice/RegisterPlugins.h +55 -0
- data/ext/ice/cpp/include/Ice/RemoteLogger.h +2 -2
- data/ext/ice/cpp/include/Ice/Router.h +2 -2
- data/ext/ice/cpp/include/Ice/RouterF.h +2 -2
- data/ext/ice/cpp/include/Ice/ServantLocator.h +2 -2
- data/ext/ice/cpp/include/Ice/ServantLocatorF.h +2 -2
- data/ext/ice/cpp/include/Ice/SliceChecksumDict.h +2 -2
- data/ext/ice/cpp/include/Ice/Version.h +2 -2
- data/ext/ice/cpp/include/IceSSL/ConnectionInfo.h +4 -6
- data/ext/ice/cpp/include/IceSSL/EndpointInfo.h +3 -5
- data/ext/ice/cpp/include/IceUtil/Config.h +5 -5
- data/ext/ice/cpp/src/Ice/BuiltinSequences.cpp +2 -2
- data/ext/ice/cpp/src/Ice/Communicator.cpp +2 -2
- data/ext/ice/cpp/src/Ice/CommunicatorF.cpp +2 -2
- data/ext/ice/cpp/src/Ice/CommunicatorI.cpp +0 -1
- data/ext/ice/cpp/src/Ice/ConnectRequestHandler.cpp +12 -17
- data/ext/ice/cpp/src/Ice/Connection.cpp +2 -2
- data/ext/ice/cpp/src/Ice/ConnectionF.cpp +2 -2
- data/ext/ice/cpp/src/Ice/ConnectionFactory.cpp +33 -4
- data/ext/ice/cpp/src/Ice/ConnectionI.cpp +8 -0
- data/ext/ice/cpp/src/Ice/Current.cpp +2 -2
- data/ext/ice/cpp/src/Ice/DefaultsAndOverrides.cpp +0 -1
- data/ext/ice/cpp/src/Ice/DeprecatedStringConverter.cpp +2 -0
- data/ext/ice/cpp/src/Ice/Endpoint.cpp +2 -2
- data/ext/ice/cpp/src/Ice/EndpointF.cpp +2 -2
- data/ext/ice/cpp/src/Ice/EndpointTypes.cpp +2 -2
- data/ext/ice/cpp/src/Ice/FacetMap.cpp +2 -2
- data/ext/ice/cpp/src/Ice/HttpParser.cpp +0 -2
- data/ext/ice/cpp/src/Ice/Identity.cpp +2 -2
- data/ext/ice/cpp/src/Ice/ImplicitContext.cpp +2 -2
- data/ext/ice/cpp/src/Ice/ImplicitContextF.cpp +2 -2
- data/ext/ice/cpp/src/Ice/Initialize.cpp +25 -30
- data/ext/ice/cpp/src/Ice/Instance.cpp +1 -3
- data/ext/ice/cpp/src/Ice/Instrumentation.cpp +2 -2
- data/ext/ice/cpp/src/Ice/InstrumentationF.cpp +2 -2
- data/ext/ice/cpp/src/Ice/LocalException.cpp +2 -2
- data/ext/ice/cpp/src/Ice/Locator.cpp +2 -2
- data/ext/ice/cpp/src/Ice/LocatorF.cpp +2 -2
- data/ext/ice/cpp/src/Ice/LocatorInfo.cpp +6 -6
- data/ext/ice/cpp/src/Ice/LocatorInfo.h +9 -8
- data/ext/ice/cpp/src/Ice/Logger.cpp +2 -2
- data/ext/ice/cpp/src/Ice/LoggerF.cpp +2 -2
- data/ext/ice/cpp/src/Ice/Metrics.cpp +10 -2
- data/ext/ice/cpp/src/Ice/Network.h +10 -0
- data/ext/ice/cpp/src/Ice/ObjectAdapter.cpp +2 -2
- data/ext/ice/cpp/src/Ice/ObjectAdapterF.cpp +2 -2
- data/ext/ice/cpp/src/Ice/ObjectAdapterI.cpp +68 -143
- data/ext/ice/cpp/src/Ice/ObjectAdapterI.h +1 -2
- data/ext/ice/cpp/src/Ice/ObjectFactory.cpp +2 -2
- data/ext/ice/cpp/src/Ice/ObjectFactoryF.cpp +2 -2
- data/ext/ice/cpp/src/Ice/Outgoing.cpp +0 -1
- data/ext/ice/cpp/src/Ice/OutgoingAsync.cpp +0 -1
- data/ext/ice/cpp/src/Ice/Plugin.cpp +2 -2
- data/ext/ice/cpp/src/Ice/PluginF.cpp +2 -2
- data/ext/ice/cpp/src/Ice/Process.cpp +2 -2
- data/ext/ice/cpp/src/Ice/ProcessF.cpp +2 -2
- data/ext/ice/cpp/src/Ice/Properties.cpp +2 -2
- data/ext/ice/cpp/src/Ice/PropertiesAdmin.cpp +2 -2
- data/ext/ice/cpp/src/Ice/PropertiesAdminI.cpp +6 -7
- data/ext/ice/cpp/src/Ice/PropertiesF.cpp +2 -2
- data/ext/ice/cpp/src/Ice/PropertiesI.cpp +17 -18
- data/ext/ice/cpp/src/Ice/Reference.cpp +1 -1
- data/ext/ice/cpp/src/Ice/{RegisterPlugins.cpp → RegisterPluginsInit.cpp} +1 -1
- data/ext/ice/cpp/src/Ice/{RegisterPlugins.h → RegisterPluginsInit.h} +2 -2
- data/ext/ice/cpp/src/Ice/RemoteLogger.cpp +2 -2
- data/ext/ice/cpp/src/Ice/Router.cpp +2 -2
- data/ext/ice/cpp/src/Ice/RouterF.cpp +2 -2
- data/ext/ice/cpp/src/Ice/Selector.cpp +51 -45
- data/ext/ice/cpp/src/Ice/Selector.h +4 -4
- data/ext/ice/cpp/src/Ice/ServantLocator.cpp +2 -2
- data/ext/ice/cpp/src/Ice/ServantLocatorF.cpp +2 -2
- data/ext/ice/cpp/src/Ice/SliceChecksumDict.cpp +2 -2
- data/ext/ice/cpp/src/Ice/StreamSocket.cpp +7 -2
- data/ext/ice/cpp/src/Ice/StringConverterPlugin.cpp +15 -3
- data/ext/ice/cpp/src/Ice/TcpTransceiver.cpp +0 -2
- data/ext/ice/cpp/src/Ice/ThreadPool.cpp +46 -47
- data/ext/ice/cpp/src/Ice/UdpTransceiver.cpp +28 -8
- data/ext/ice/cpp/src/Ice/Version.cpp +2 -2
- data/ext/ice/cpp/src/Ice/WSTransceiver.cpp +26 -2
- data/ext/ice/cpp/src/IceDiscovery/IceDiscovery.cpp +2 -2
- data/ext/ice/cpp/src/IceDiscovery/IceDiscovery.h +2 -2
- data/ext/ice/cpp/src/IceDiscovery/PluginI.cpp +11 -0
- data/ext/ice/cpp/src/IceLocatorDiscovery/IceLocatorDiscovery.cpp +2 -2
- data/ext/ice/cpp/src/IceLocatorDiscovery/IceLocatorDiscovery.h +2 -2
- data/ext/ice/cpp/src/IceLocatorDiscovery/PluginI.cpp +11 -0
- data/ext/ice/cpp/src/IceSSL/ConnectionInfo.cpp +2 -2
- data/ext/ice/cpp/src/IceSSL/EndpointInfo.cpp +2 -2
- data/ext/ice/cpp/src/IceSSL/OpenSSLTransceiverI.cpp +1 -3
- data/ext/ice/cpp/src/IceSSL/PluginI.cpp +11 -0
- data/ext/ice/cpp/src/IceSSL/SChannelTransceiverI.cpp +7 -0
- data/ext/ice/cpp/src/IceUtil/ArgVector.cpp +0 -1
- data/ext/ice/cpp/src/IceUtil/Exception.cpp +2 -1
- data/ext/ice/cpp/src/Slice/FileTracker.cpp +3 -2
- data/ext/ice/cpp/src/Slice/JavaUtil.cpp +0 -1
- data/ext/ice/cpp/src/Slice/Parser.cpp +35 -9
- data/ext/ice/cpp/src/Slice/Preprocessor.cpp +10 -11
- data/ext/ice/cpp/src/Slice/Python.cpp +54 -36
- data/ext/ice/mcpp/Makefile +10 -0
- data/ext/ice/mcpp/Makefile.mak +23 -15
- data/ice.gemspec +1 -2
- data/lib/Glacier2/Metrics.rb +1 -1
- data/lib/Glacier2/PermissionsVerifier.rb +1 -1
- data/lib/Glacier2/PermissionsVerifierF.rb +1 -1
- data/lib/Glacier2/Router.rb +1 -1
- data/lib/Glacier2/RouterF.rb +1 -1
- data/lib/Glacier2/SSLInfo.rb +1 -1
- data/lib/Glacier2/Session.rb +1 -1
- data/lib/Ice.rb +1 -0
- data/lib/Ice/BuiltinSequences.rb +1 -1
- data/lib/Ice/Communicator.rb +1 -1
- data/lib/Ice/CommunicatorF.rb +1 -1
- data/lib/Ice/Connection.rb +1 -1
- data/lib/Ice/ConnectionF.rb +1 -1
- data/lib/Ice/Current.rb +1 -1
- data/lib/Ice/Endpoint.rb +1 -1
- data/lib/Ice/EndpointF.rb +1 -1
- data/lib/Ice/EndpointTypes.rb +1 -1
- data/lib/Ice/FacetMap.rb +1 -1
- data/lib/Ice/Identity.rb +1 -1
- data/lib/Ice/ImplicitContext.rb +1 -1
- data/lib/Ice/ImplicitContextF.rb +1 -1
- data/lib/Ice/Instrumentation.rb +1 -1
- data/lib/Ice/InstrumentationF.rb +1 -1
- data/lib/Ice/LocalException.rb +1 -1
- data/lib/Ice/Locator.rb +1 -1
- data/lib/Ice/LocatorF.rb +1 -1
- data/lib/Ice/Logger.rb +1 -1
- data/lib/Ice/LoggerF.rb +1 -1
- data/lib/Ice/Metrics.rb +1 -1
- data/lib/Ice/ObjectAdapterF.rb +1 -1
- data/lib/Ice/ObjectFactory.rb +1 -1
- data/lib/Ice/ObjectFactoryF.rb +1 -1
- data/lib/Ice/Plugin.rb +1 -1
- data/lib/Ice/PluginF.rb +1 -1
- data/lib/Ice/Process.rb +1 -1
- data/lib/Ice/ProcessF.rb +1 -1
- data/lib/Ice/Properties.rb +1 -1
- data/lib/Ice/PropertiesAdmin.rb +1 -1
- data/lib/Ice/PropertiesF.rb +1 -1
- data/lib/Ice/RemoteLogger.rb +292 -0
- data/lib/Ice/Router.rb +1 -1
- data/lib/Ice/RouterF.rb +1 -1
- data/lib/Ice/SliceChecksumDict.rb +1 -1
- data/lib/Ice/Version.rb +1 -1
- data/lib/IceBox/IceBox.rb +1 -1
- data/lib/IceGrid/Admin.rb +1 -1
- data/lib/IceGrid/Descriptor.rb +1 -1
- data/lib/IceGrid/Exception.rb +1 -1
- data/lib/IceGrid/FileParser.rb +1 -1
- data/lib/IceGrid/Locator.rb +1 -1
- data/lib/IceGrid/Observer.rb +1 -1
- data/lib/IceGrid/Query.rb +1 -1
- data/lib/IceGrid/Registry.rb +1 -1
- data/lib/IceGrid/Session.rb +1 -1
- data/lib/IceGrid/UserAccountMapper.rb +1 -1
- data/lib/IcePatch2/FileInfo.rb +1 -1
- data/lib/IcePatch2/FileServer.rb +1 -1
- data/lib/IceStorm/IceStorm.rb +1 -1
- data/lib/IceStorm/Metrics.rb +1 -1
- data/slice/IceLocatorDiscovery/IceLocatorDiscovery.ice +4 -0
- metadata +6 -4
@@ -17,8 +17,6 @@
|
|
17
17
|
#include <Ice/Properties.h>
|
18
18
|
#include <IceUtil/StringUtil.h>
|
19
19
|
|
20
|
-
#include <IceUtil/DisableWarnings.h>
|
21
|
-
|
22
20
|
#ifdef ICE_OS_WINRT
|
23
21
|
# include <ppltasks.h> // For Concurrency::task
|
24
22
|
#endif
|
@@ -126,6 +124,7 @@ IceInternal::UdpTransceiver::close()
|
|
126
124
|
_readPending = false;
|
127
125
|
}
|
128
126
|
_received.clear();
|
127
|
+
_completedHandler = nullptr;
|
129
128
|
#endif
|
130
129
|
|
131
130
|
assert(_fd != INVALID_SOCKET);
|
@@ -391,6 +390,7 @@ IceInternal::UdpTransceiver::startWrite(Buffer& buf)
|
|
391
390
|
auto operation = safe_cast<DatagramSocket^>(_fd)->ConnectAsync(_addr.host, _addr.port);
|
392
391
|
if(!checkIfErrorOrCompleted(SocketOperationConnect, operation))
|
393
392
|
{
|
393
|
+
SocketOperationCompletedHandler^ completed = _completedHandler;
|
394
394
|
operation->Completed = ref new AsyncActionCompletedHandler(
|
395
395
|
[=] (IAsyncAction^ info, Windows::Foundation::AsyncStatus status)
|
396
396
|
{
|
@@ -404,7 +404,7 @@ IceInternal::UdpTransceiver::startWrite(Buffer& buf)
|
|
404
404
|
_write.count = 0;
|
405
405
|
_writer = ref new DataWriter(safe_cast<DatagramSocket^>(_fd)->OutputStream);
|
406
406
|
}
|
407
|
-
|
407
|
+
completed(SocketOperationConnect);
|
408
408
|
});
|
409
409
|
}
|
410
410
|
else
|
@@ -418,6 +418,7 @@ IceInternal::UdpTransceiver::startWrite(Buffer& buf)
|
|
418
418
|
auto operation = safe_cast<DatagramSocket^>(_fd)->GetOutputStreamAsync(_addr.host, _addr.port);
|
419
419
|
if(!checkIfErrorOrCompleted(SocketOperationConnect, operation))
|
420
420
|
{
|
421
|
+
SocketOperationCompletedHandler^ completed = _completedHandler;
|
421
422
|
operation->Completed = ref new AsyncOperationCompletedHandler<IOutputStream^>(
|
422
423
|
[=] (IAsyncOperation<IOutputStream^>^ info, Windows::Foundation::AsyncStatus status)
|
423
424
|
{
|
@@ -435,7 +436,7 @@ IceInternal::UdpTransceiver::startWrite(Buffer& buf)
|
|
435
436
|
{
|
436
437
|
setMcastGroup(_fd, _mcastAddr, "");
|
437
438
|
}
|
438
|
-
|
439
|
+
completed(SocketOperationConnect);
|
439
440
|
});
|
440
441
|
}
|
441
442
|
else
|
@@ -459,6 +460,7 @@ IceInternal::UdpTransceiver::startWrite(Buffer& buf)
|
|
459
460
|
{
|
460
461
|
try
|
461
462
|
{
|
463
|
+
SocketOperationCompletedHandler^ completed = _completedHandler;
|
462
464
|
DatagramSocket^ fd = safe_cast<DatagramSocket^>(_fd);
|
463
465
|
concurrency::create_task(fd->GetOutputStreamAsync(_peerAddr.host, _peerAddr.port)).then(
|
464
466
|
[=,&buf](concurrency::task<IOutputStream^> task)
|
@@ -480,7 +482,7 @@ IceInternal::UdpTransceiver::startWrite(Buffer& buf)
|
|
480
482
|
// completed callback.
|
481
483
|
//
|
482
484
|
_write.count = operation->GetResults();
|
483
|
-
|
485
|
+
completed(SocketOperationWrite);
|
484
486
|
}
|
485
487
|
else if(status == Windows::Foundation::AsyncStatus::Started)
|
486
488
|
{
|
@@ -502,7 +504,7 @@ IceInternal::UdpTransceiver::startWrite(Buffer& buf)
|
|
502
504
|
{
|
503
505
|
_write.count = SOCKET_ERROR;
|
504
506
|
_write.error = pex->HResult;
|
505
|
-
|
507
|
+
completed(SocketOperationWrite);
|
506
508
|
}
|
507
509
|
});
|
508
510
|
}
|
@@ -954,10 +956,19 @@ IceInternal::UdpTransceiver::UdpTransceiver(const ProtocolInstancePtr& instance,
|
|
954
956
|
}
|
955
957
|
#else
|
956
958
|
DatagramSocket^ socket = safe_cast<DatagramSocket^>(_fd);
|
959
|
+
IceUtil::Handle<UdpTransceiver> self(this);
|
960
|
+
# if _WIN32_WINNT >= 0x0A00
|
961
|
+
// On Windows 10, it's necessary to set this property to allow Win32 applications to
|
962
|
+
// bind to the same multicast address
|
963
|
+
if(isMulticast(_addr))
|
964
|
+
{
|
965
|
+
socket->Control->MulticastOnly = true;
|
966
|
+
}
|
967
|
+
# endif
|
957
968
|
socket->MessageReceived += ref new TypedEventHandler<DatagramSocket^, DatagramSocketMessageReceivedEventArgs^>(
|
958
969
|
[=](DatagramSocket^ fd, DatagramSocketMessageReceivedEventArgs^ args)
|
959
970
|
{
|
960
|
-
|
971
|
+
self->appendMessage(args);
|
961
972
|
});
|
962
973
|
#endif
|
963
974
|
|
@@ -1001,10 +1012,19 @@ IceInternal::UdpTransceiver::UdpTransceiver(const UdpEndpointIPtr& endpoint, con
|
|
1001
1012
|
_mcastAddr.saStorage.ss_family = AF_UNSPEC;
|
1002
1013
|
#else
|
1003
1014
|
DatagramSocket^ socket = safe_cast<DatagramSocket^>(_fd);
|
1015
|
+
# if _WIN32_WINNT >= 0x0A00
|
1016
|
+
// On Windows 10, it's necessary to set this property to allow Win32 applications to
|
1017
|
+
// bind to the same multicast address
|
1018
|
+
if(isMulticast(_addr))
|
1019
|
+
{
|
1020
|
+
socket->Control->MulticastOnly = true;
|
1021
|
+
}
|
1022
|
+
# endif
|
1023
|
+
IceUtil::Handle<UdpTransceiver> self(this);
|
1004
1024
|
socket->MessageReceived += ref new TypedEventHandler<DatagramSocket^, DatagramSocketMessageReceivedEventArgs^>(
|
1005
1025
|
[=](DatagramSocket^ fd, DatagramSocketMessageReceivedEventArgs^ args)
|
1006
1026
|
{
|
1007
|
-
|
1027
|
+
self->appendMessage(args);
|
1008
1028
|
});
|
1009
1029
|
#endif
|
1010
1030
|
}
|
@@ -7,7 +7,7 @@
|
|
7
7
|
//
|
8
8
|
// **********************************************************************
|
9
9
|
//
|
10
|
-
// Ice version 3.6.
|
10
|
+
// Ice version 3.6.1
|
11
11
|
//
|
12
12
|
// <auto-generated>
|
13
13
|
//
|
@@ -34,7 +34,7 @@
|
|
34
34
|
# if ICE_INT_VERSION % 100 > 50
|
35
35
|
# error Beta header file detected
|
36
36
|
# endif
|
37
|
-
# if ICE_INT_VERSION % 100 <
|
37
|
+
# if ICE_INT_VERSION % 100 < 1
|
38
38
|
# error Ice patch level mismatch!
|
39
39
|
# endif
|
40
40
|
#endif
|
@@ -21,8 +21,6 @@
|
|
21
21
|
#include <IceUtil/SHA1.h>
|
22
22
|
#include <IceUtil/StringUtil.h>
|
23
23
|
|
24
|
-
#include <IceUtil/DisableWarnings.h>
|
25
|
-
|
26
24
|
// Python 2.7 under Windows.
|
27
25
|
#if _MSC_VER == 1500
|
28
26
|
typedef unsigned short uint16_t;
|
@@ -480,6 +478,18 @@ IceInternal::WSTransceiver::close()
|
|
480
478
|
{
|
481
479
|
_delegate->close();
|
482
480
|
_state = StateClosed;
|
481
|
+
|
482
|
+
//
|
483
|
+
// Clear the buffers now instead of waiting for destruction.
|
484
|
+
//
|
485
|
+
if(!_writePending)
|
486
|
+
{
|
487
|
+
_writeBuffer.b.clear();
|
488
|
+
}
|
489
|
+
if(!_readPending)
|
490
|
+
{
|
491
|
+
_readBuffer.b.clear();
|
492
|
+
}
|
483
493
|
}
|
484
494
|
|
485
495
|
SocketOperation
|
@@ -673,6 +683,7 @@ void
|
|
673
683
|
IceInternal::WSTransceiver::finishWrite(Buffer& buf)
|
674
684
|
{
|
675
685
|
_writePending = false;
|
686
|
+
|
676
687
|
if(_state < StateOpened)
|
677
688
|
{
|
678
689
|
if(_state < StateConnected)
|
@@ -696,6 +707,12 @@ IceInternal::WSTransceiver::finishWrite(Buffer& buf)
|
|
696
707
|
_delegate->finishWrite(buf);
|
697
708
|
}
|
698
709
|
|
710
|
+
if(_state == StateClosed)
|
711
|
+
{
|
712
|
+
_writeBuffer.b.clear();
|
713
|
+
return;
|
714
|
+
}
|
715
|
+
|
699
716
|
postWrite(buf);
|
700
717
|
}
|
701
718
|
|
@@ -778,6 +795,13 @@ IceInternal::WSTransceiver::finishRead(Buffer& buf, bool& hasMoreData)
|
|
778
795
|
{
|
779
796
|
_delegate->finishRead(_readBuffer, hasMoreData);
|
780
797
|
}
|
798
|
+
|
799
|
+
if(_state == StateClosed)
|
800
|
+
{
|
801
|
+
_readBuffer.b.clear();
|
802
|
+
return;
|
803
|
+
}
|
804
|
+
|
781
805
|
postRead(buf);
|
782
806
|
}
|
783
807
|
#endif
|
@@ -7,7 +7,7 @@
|
|
7
7
|
//
|
8
8
|
// **********************************************************************
|
9
9
|
//
|
10
|
-
// Ice version 3.6.
|
10
|
+
// Ice version 3.6.1
|
11
11
|
//
|
12
12
|
// <auto-generated>
|
13
13
|
//
|
@@ -35,7 +35,7 @@
|
|
35
35
|
# if ICE_INT_VERSION % 100 > 50
|
36
36
|
# error Beta header file detected
|
37
37
|
# endif
|
38
|
-
# if ICE_INT_VERSION % 100 <
|
38
|
+
# if ICE_INT_VERSION % 100 < 1
|
39
39
|
# error Ice patch level mismatch!
|
40
40
|
# endif
|
41
41
|
#endif
|
@@ -7,7 +7,7 @@
|
|
7
7
|
//
|
8
8
|
// **********************************************************************
|
9
9
|
//
|
10
|
-
// Ice version 3.6.
|
10
|
+
// Ice version 3.6.1
|
11
11
|
//
|
12
12
|
// <auto-generated>
|
13
13
|
//
|
@@ -44,7 +44,7 @@
|
|
44
44
|
# if ICE_INT_VERSION % 100 > 50
|
45
45
|
# error Beta header file detected
|
46
46
|
# endif
|
47
|
-
# if ICE_INT_VERSION % 100 <
|
47
|
+
# if ICE_INT_VERSION % 100 < 1
|
48
48
|
# error Ice patch level mismatch!
|
49
49
|
# endif
|
50
50
|
#endif
|
@@ -39,6 +39,17 @@ createIceDiscovery(const Ice::CommunicatorPtr& communicator, const string&, cons
|
|
39
39
|
|
40
40
|
}
|
41
41
|
|
42
|
+
namespace Ice
|
43
|
+
{
|
44
|
+
|
45
|
+
ICE_DISCOVERY_API void
|
46
|
+
registerIceDiscovery(bool loadOnInitialize)
|
47
|
+
{
|
48
|
+
Ice::registerPluginFactory("IceDiscovery", createIceDiscovery, loadOnInitialize);
|
49
|
+
}
|
50
|
+
|
51
|
+
}
|
52
|
+
|
42
53
|
PluginI::PluginI(const Ice::CommunicatorPtr& communicator) : _communicator(communicator)
|
43
54
|
{
|
44
55
|
}
|
@@ -7,7 +7,7 @@
|
|
7
7
|
//
|
8
8
|
// **********************************************************************
|
9
9
|
//
|
10
|
-
// Ice version 3.6.
|
10
|
+
// Ice version 3.6.1
|
11
11
|
//
|
12
12
|
// <auto-generated>
|
13
13
|
//
|
@@ -35,7 +35,7 @@
|
|
35
35
|
# if ICE_INT_VERSION % 100 > 50
|
36
36
|
# error Beta header file detected
|
37
37
|
# endif
|
38
|
-
# if ICE_INT_VERSION % 100 <
|
38
|
+
# if ICE_INT_VERSION % 100 < 1
|
39
39
|
# error Ice patch level mismatch!
|
40
40
|
# endif
|
41
41
|
#endif
|
@@ -7,7 +7,7 @@
|
|
7
7
|
//
|
8
8
|
// **********************************************************************
|
9
9
|
//
|
10
|
-
// Ice version 3.6.
|
10
|
+
// Ice version 3.6.1
|
11
11
|
//
|
12
12
|
// <auto-generated>
|
13
13
|
//
|
@@ -46,7 +46,7 @@
|
|
46
46
|
# if ICE_INT_VERSION % 100 > 50
|
47
47
|
# error Beta header file detected
|
48
48
|
# endif
|
49
|
-
# if ICE_INT_VERSION % 100 <
|
49
|
+
# if ICE_INT_VERSION % 100 < 1
|
50
50
|
# error Ice patch level mismatch!
|
51
51
|
# endif
|
52
52
|
#endif
|
@@ -38,6 +38,17 @@ createIceLocatorDiscovery(const Ice::CommunicatorPtr& communicator, const string
|
|
38
38
|
|
39
39
|
}
|
40
40
|
|
41
|
+
namespace Ice
|
42
|
+
{
|
43
|
+
|
44
|
+
ICE_LOCATOR_DISCOVERY_API void
|
45
|
+
registerIceLocatorDiscovery(bool loadOnInitialize)
|
46
|
+
{
|
47
|
+
Ice::registerPluginFactory("IceLocatorDiscovery", createIceLocatorDiscovery, loadOnInitialize);
|
48
|
+
}
|
49
|
+
|
50
|
+
}
|
51
|
+
|
41
52
|
namespace
|
42
53
|
{
|
43
54
|
|
@@ -7,7 +7,7 @@
|
|
7
7
|
//
|
8
8
|
// **********************************************************************
|
9
9
|
//
|
10
|
-
// Ice version 3.6.
|
10
|
+
// Ice version 3.6.1
|
11
11
|
//
|
12
12
|
// <auto-generated>
|
13
13
|
//
|
@@ -35,7 +35,7 @@
|
|
35
35
|
# if ICE_INT_VERSION % 100 > 50
|
36
36
|
# error Beta header file detected
|
37
37
|
# endif
|
38
|
-
# if ICE_INT_VERSION % 100 <
|
38
|
+
# if ICE_INT_VERSION % 100 < 1
|
39
39
|
# error Ice patch level mismatch!
|
40
40
|
# endif
|
41
41
|
#endif
|
@@ -7,7 +7,7 @@
|
|
7
7
|
//
|
8
8
|
// **********************************************************************
|
9
9
|
//
|
10
|
-
// Ice version 3.6.
|
10
|
+
// Ice version 3.6.1
|
11
11
|
//
|
12
12
|
// <auto-generated>
|
13
13
|
//
|
@@ -34,7 +34,7 @@
|
|
34
34
|
# if ICE_INT_VERSION % 100 > 50
|
35
35
|
# error Beta header file detected
|
36
36
|
# endif
|
37
|
-
# if ICE_INT_VERSION % 100 <
|
37
|
+
# if ICE_INT_VERSION % 100 < 1
|
38
38
|
# error Ice patch level mismatch!
|
39
39
|
# endif
|
40
40
|
#endif
|
@@ -21,8 +21,6 @@
|
|
21
21
|
#include <Ice/Buffer.h>
|
22
22
|
#include <Ice/LocalException.h>
|
23
23
|
|
24
|
-
#include <IceUtil/DisableWarnings.h>
|
25
|
-
|
26
24
|
#ifdef ICE_USE_OPENSSL
|
27
25
|
|
28
26
|
#include <openssl/err.h>
|
@@ -280,7 +278,7 @@ IceSSL::TransceiverI::initialize(IceInternal::Buffer& readBuffer, IceInternal::B
|
|
280
278
|
{
|
281
279
|
_verified = true;
|
282
280
|
}
|
283
|
-
|
281
|
+
|
284
282
|
_engine->verifyPeer(_stream->fd(), _host, NativeConnectionInfoPtr::dynamicCast(getInfo()));
|
285
283
|
|
286
284
|
if(_engine->securityTraceLevel() >= 1)
|
@@ -34,6 +34,17 @@ createIceSSL(const CommunicatorPtr& communicator, const string& /*name*/, const
|
|
34
34
|
|
35
35
|
}
|
36
36
|
|
37
|
+
namespace Ice
|
38
|
+
{
|
39
|
+
|
40
|
+
ICE_SSL_API void
|
41
|
+
registerIceSSL(bool loadOnInitialize)
|
42
|
+
{
|
43
|
+
Ice::registerPluginFactory("IceSSL", createIceSSL, loadOnInitialize);
|
44
|
+
}
|
45
|
+
|
46
|
+
}
|
47
|
+
|
37
48
|
//
|
38
49
|
// Plugin implementation.
|
39
50
|
//
|
@@ -774,6 +774,13 @@ IceSSL::TransceiverI::close()
|
|
774
774
|
}
|
775
775
|
|
776
776
|
_stream->close();
|
777
|
+
|
778
|
+
//
|
779
|
+
// Clear the buffers now instead of waiting for destruction.
|
780
|
+
//
|
781
|
+
_writeBuffer.b.clear();
|
782
|
+
_readBuffer.b.clear();
|
783
|
+
_readUnprocessed.b.clear();
|
777
784
|
}
|
778
785
|
|
779
786
|
IceInternal::SocketOperation
|
@@ -29,7 +29,8 @@
|
|
29
29
|
#include <cstdlib>
|
30
30
|
|
31
31
|
|
32
|
-
#if defined(__GNUC__) && !defined(__sun) && !defined(__FreeBSD__) && !defined(__MINGW32__)
|
32
|
+
#if defined(__GNUC__) && !defined(__sun) && !defined(__FreeBSD__) && !defined(__MINGW32__) && \
|
33
|
+
!(defined(__ARMEL__) && defined(__linux))
|
33
34
|
# include <execinfo.h>
|
34
35
|
# include <cxxabi.h>
|
35
36
|
# define ICE_GCC_STACK_TRACES
|
@@ -99,6 +99,7 @@ Slice::FileTracker::setOutput(const string& output, bool error)
|
|
99
99
|
_errors.insert(make_pair(_source, output));
|
100
100
|
if(error)
|
101
101
|
{
|
102
|
+
_generated.erase(_curr);
|
102
103
|
_curr = _generated.end();
|
103
104
|
}
|
104
105
|
}
|
@@ -128,7 +129,7 @@ Slice::FileTracker::cleanup()
|
|
128
129
|
{
|
129
130
|
#ifdef _WIN32
|
130
131
|
_unlink(p->first.c_str());
|
131
|
-
#else
|
132
|
+
#else
|
132
133
|
unlink(p->first.c_str());
|
133
134
|
#endif
|
134
135
|
}
|
@@ -136,7 +137,7 @@ Slice::FileTracker::cleanup()
|
|
136
137
|
{
|
137
138
|
#ifdef _WIN32
|
138
139
|
_rmdir(p->first.c_str());
|
139
|
-
#else
|
140
|
+
#else
|
140
141
|
rmdir(p->first.c_str());
|
141
142
|
#endif
|
142
143
|
}
|