summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/Security/BiDirectional/README
blob: 006c572b7e14e0de5382b8d2a6e78d13cd487e93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29


This is a test that exercises the birectional GIOP connection
implementation in TAO over SSLIOP connection.

Basicaly, the test is a copy of the $TAO_ROOT/tests/BiDirectional with
added support for SSLIOP

Start the server like this

$ server -ORBSvcConf server.conf -o <file.ior> -i <no_iterations>
$ client -ORBSvcConf client.conf -k file://<file.ior> -x

Or, simply

$ ./run_test.pl -ssl

The server starts up writing the IOR to the file. The client then starts
up, creates its own object and passes the reference to the server. Then
it invokes a method on the server to indicate that it is ready for
callback. The server then callsback the client on the same connection
<no_iterations> times. If the server creates a new connection the server
would crash itself.

To determine that no new connections have been opened or used the test
relies on the fact that TAO uses a transport cache. It can provide us
iwith the number of currently cashed transports before and after making an
invocation. Both the client and at the server make this check.