[omniORB] Client behaviour on receiving CloseConnection

Kiesswetter, Florian (Florian) fkiesswe at lucent.com
Tue Mar 28 18:53:07 BST 2006


All,

I am just wondering about the scenario where an omniOrb server sends a CloseConnection for a omniORB client connection and the client will perform a request afterwords:
What I can see on ethereal traces is, that the close connection is sent and acknowledged. Upon trying to invoke the method "statusAudit", the client performs this request on exactly the connection which has been requested to close. Immediately after that it sends a FIN/ACK for this connection and establishes a new connection and perfoms the request again.

Why does the Client not close the socket immediately and establish a new connection for the first invocation? Is that behaviour specified/agreed (I thought from the specs that it clearly states that upon receiving a CloseConnection, the socket has to be closed)?

Test has been made with omniOrb 4.0.3. Following is the ethereal trace (stripped down to the important packets and included SERVER/CLIENT for readability)

Thanks,
Florian

Nr. Src.		Dest.			Protocol Info
01 SERVER	CLIENT 		GIOP     GIOP 1.2 CloseConnection
02 CLIENT 	SERVER		TCP      36024 > 15678 [ACK] Seq=152 Ack=11349 Win=16716 Len=0 TSV=3235900 TSER=727
03 SERVER  	CLIENT 		TCP      15678 > 36024 [FIN, ACK] Seq=11349 Ack=152 Win=8192 Len=0 TSV=727 TSER=3234199
04 CLIENT 	SERVER		TCP      36024 > 15678 [ACK] Seq=152 Ack=11350 Win=16716 Len=0 TSV=3235904 TSER=727
05 CLIENT 	SERVER		GIOP     GIOP 1.2 Request 6: statusAudit
06 CLIENT	SERVER	            TCP      36024 > 15678 [FIN, ACK] Seq=241 Ack=11350 Win=16716 Len=0 TSV=3236970 TSER=727
07 CLIENT	SERVER		TCP      36025 > 15678 [SYN] Seq=0 Ack=0 Win=5840 Len=0 MSS=1460 TSV=3236970 TSER=0 WS=0
08 SERVER	CLIENT 		TCP      15678 > 36024 [RST] Seq=11350 Ack=3854518173 Win=0 Len=0
09 SERVER	CLIENT 		TCP      15678 > 36024 [RST] Seq=11350 Ack=3854518173 Win=8192 Len=0
10 SERVER	CLIENT 		TCP      15678 > 36025 [SYN, ACK] Seq=0 Ack=1 Win=8192 Len=0 MSS=410 WS=0 TSV=749 TSER=3236970
11 CLIENT 	SERVER		TCP      36025 > 15678 [ACK] Seq=1 Ack=1 Win=5840 Len=0 TSV=3236972 TSER=749
12 CLIENT 	SERVER		GIOP     GIOP 1.2 Request 2: statusAudit
13 SERVER	CLIENT 		TCP      15678 > 36025 [ACK] Seq=1 Ack=114 Win=8192 Len=0 TSV=749 TSER=3237001
14 SERVER	CLIENT 		GIOP     GIOP 1.2 Reply 2: No Exception[Unreassembled Packet]
15 CLIENT 	SERVER		TCP      36025 > 15678 [ACK] Seq=114 Ack=399 Win=6368 Len=0 TSV=3237018 TSER=750




More information about the omniORB-list mailing list