_args in stub returns NULL when total size of the returned packets is high
Mehmet Said Yukselten <[email protected]> Wed, 16 Mar 2011 02:38:05 -0700 (PDT)
| Newsgroups | gmane.comp.gnome.orbit.general |
|---|---|
| Message-ID | <[email protected]> |
--===============0099797771==
Content-Type: multipart/alternative; boundary="0-482899992-1300268285=:36260"
--0-482899992-1300268285=:36260
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Hi,=0A=0A=A0=0A=0AI call a Corba method, that is=0AORBit_c_stub_invoke(). I=
know it will get hundreds of valError packets from the=0Aremote server for=
my provisioning.=0A=0A=A0=0A=0Avoid SMSProvExt_WorkOrderIntf_getValErrors(=
SMSProvExt_WorkOrderIntf=0A_obj, const CORBA_char * reqName, const CORBA_ch=
ar * headName,=0ASMSProvExt_ValErrorList** data, CORBA_Environment *ev){=0A=
=0A=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 gpointer=0A_args[3];=0A=0A=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0 _args[0]=0A=3D (gpointer)&reqName;=0A=0A=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0 _args[1]=0A=3D (gpointer)&headName;=0A=0A=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0 _args[2]=0A=3D data;=0A=0A=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0 ORBit_c_stub_invoke=0A(_obj, &SMSProvExt_WorkOrderIntf__iinterface.m=
ethods, 17, NULL, _args, NULL, ev,=0ASMSProvExt_WorkOrderIntf__classid, =0A=
=0AG_STRUCT_OFFSET=A0=A0=A0=A0=A0 (POA_SMSProvExt_WorkOrderIntf__epv,=0Aget=
ValErrors),=0A=0A=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0 (ORBitSmallSkeleton)=0A_ORBIT_skel_small_SMSProvExt_WorkOrderI=
ntf_getValErrors);=0A=0A}=0A=0A=A0=0A=0AHowever, when it is finished, then =
I check "_args" and it is just NULL and so I cannot get the messages.=0ASo,=
is there a limit on the packets retrieved from the server.=0A=0A=A0=0A=0AI=
got snoop traces and saw that after some number=0Aof packets (e.g. about 5=
00 packets in one of my tests), my box sends out "TCP ACKed lost segment" a=
nd=0Arestarts getting the packets from the beginning again. But, in this ti=
me, after=0Agetting some packets again, it sends out "[RST, ACK]" and _args=
returns NULL. This always occurs on the=0Asame number of packets for a spe=
cific test. So, I am suspicious if Corba has a=0Alimitation on the total si=
ze of the returned packets. Any comment pls?=0A=0A=A0=0A=0ANot: The remote =
server uses TAO ORB. So, this is a=0ATAO - Orbit tunnel. The Orbit version =
I used is 2.14.16.=0A=0A=A0=0A=0ARegards,=0A=0ASaid=0A=0A=0A
--0-482899992-1300268285=:36260
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
<table cellspacing=3D"0" cellpadding=3D"0" border=3D"0" ><tr><td valign=3D"=
top" style=3D"font: inherit;"><p class=3D"MsoNormal"><span lang=3D"EN-US" s=
tyle=3D"font-size:10.0pt;font-family:"Trebuchet MS";=0Amso-bidi-f=
ont-family:Arial">Hi,<o:p></o:p></span></p>=0A=0A<p class=3D"MsoNormal"><sp=
an lang=3D"EN-US" style=3D"font-size:10.0pt;font-family:"Trebuchet MS&=
quot;;=0Amso-bidi-font-family:Arial"><o:p> </o:p></span></p>=0A=0A<p c=
lass=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-fami=
ly:"Trebuchet MS";=0Amso-bidi-font-family:Arial">I call a Corba m=
ethod, that is=0AORBit_c_stub_invoke(). I know it will get hundreds of valE=
rror packets from the=0Aremote server for my provisioning.<o:p></o:p></span=
></p>=0A=0A<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:1=
0.0pt;font-family:"Trebuchet MS";=0Amso-bidi-font-family:Arial"><=
o:p> </o:p></span></p>=0A=0A<p class=3D"MsoNormal"><span lang=3D"EN-US=
" style=3D"font-size:10.0pt;font-family:"Trebuchet MS";=0Amso-bid=
i-font-family:Arial">void SMSProvExt_WorkOrderIntf_getValErrors(SMSProvExt_=
WorkOrderIntf=0A_obj, const CORBA_char * reqName, const CORBA_char * headNa=
me,=0ASMSProvExt_ValErrorList** data, CORBA_Environment *ev){<o:p></o:p></s=
pan></p>=0A=0A<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-siz=
e:10.0pt;font-family:"Trebuchet MS";=0Amso-bidi-font-family:Arial=
"><span style=3D"mso-tab-count:1">  =
; </span>gpointer=0A_args[3];<o:p></o:p></span></p>=
=0A=0A<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt=
;font-family:"Trebuchet MS";=0Amso-bidi-font-family:Arial"><span =
style=3D"mso-tab-count:1"> &=
nbsp; </span>_args[0]=0A=3D (gpointer)&reqName;<o:p></o:p><=
/span></p>=0A=0A<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-s=
ize:10.0pt;font-family:"Trebuchet MS";=0Amso-bidi-font-family:Ari=
al"><span style=3D"mso-tab-count:1"> &nb=
sp; </span>_args[1]=0A=3D (gpointer)&headName;<=
o:p></o:p></span></p>=0A=0A<p class=3D"MsoNormal"><span lang=3D"EN-US" styl=
e=3D"font-size:10.0pt;font-family:"Trebuchet MS";=0Amso-bidi-font=
-family:Arial"><span style=3D"mso-tab-count:1"> &nbs=
p; </span>_args[2]=0A=3D data;<o:p></o:=
p></span></p>=0A=0A<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"fon=
t-size:10.0pt;font-family:"Trebuchet MS";=0Amso-bidi-font-family:=
Arial"><span style=3D"mso-tab-count:1"> =
</span>ORBit_c_stub_invoke=0A(_obj, &SMS=
ProvExt_WorkOrderIntf__iinterface.methods, 17, NULL, <b style=3D"mso-bidi-f=
ont-weight:normal">_args</b>, NULL, ev,=0ASMSProvExt_WorkOrderIntf__classid=
, <o:p></o:p></span></p>=0A=0A<p class=3D"MsoNormal" style=3D"margin-left:3=
6.0pt;text-indent:36.0pt"><span lang=3D"EN-US" style=3D"font-size:10.0pt;fo=
nt-family:"Trebuchet MS";mso-bidi-font-family:=0AArial">G_STRUCT_=
OFFSET<span style=3D"mso-tab-count:1"> </span=
>(POA_SMSProvExt_WorkOrderIntf__epv,=0AgetValErrors),<o:p></o:p></span></p>=
=0A=0A<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt=
;font-family:"Trebuchet MS";=0Amso-bidi-font-family:Arial"><span =
style=3D"mso-tab-count:2"> &=
nbsp; &nbs=
p; </span>(ORBitSmallSkeleton)=0A_ORBIT_skel_small_SMSProvExt_W=
orkOrderIntf_getValErrors);<o:p></o:p></span></p>=0A=0A<p class=3D"MsoNorma=
l"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-family:"Trebuch=
et MS";=0Amso-bidi-font-family:Arial">}<o:p></o:p></span></p>=0A=0A<p =
class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-fam=
ily:"Trebuchet MS";=0Amso-bidi-font-family:Arial"><o:p> </o:=
p></span></p>=0A=0A<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"fon=
t-size:10.0pt;font-family:"Trebuchet MS";=0Amso-bidi-font-family:=
Arial">However, when it is finished, then I check "<b style=3D"mso-bidi-fon=
t-weight:normal">_args</b>" and it is just <b style=3D"mso-bidi-font-weight=
:normal">NULL</b> and so I cannot get the messages.=0ASo, is there a limit =
on the packets retrieved from the server.<o:p></o:p></span></p>=0A=0A<p cla=
ss=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-family=
:"Trebuchet MS";=0Amso-bidi-font-family:Arial"><o:p> </o:p><=
/span></p>=0A=0A<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-s=
ize:10.0pt;font-family:"Trebuchet MS";=0Amso-bidi-font-family:Ari=
al">I got snoop traces and saw that after some number=0Aof packets (e.g. ab=
out 500 packets in one of my tests), my box sends out "<b style=3D"mso-bidi=
-font-weight:normal">TCP ACKed lost segment</b>" and=0Arestarts getting the=
packets from the beginning again. But, in this time, after=0Agetting some =
packets again, it sends out "<b style=3D"mso-bidi-font-weight:=0Anormal">[R=
ST, ACK]</b>" and _args returns NULL. This always occurs on the=0Asame numb=
er of packets for a specific test. So, I am suspicious if Corba has a=0Alim=
itation on the total size of the returned packets. Any comment pls?<o:p></o=
:p></span></p>=0A=0A<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"fo=
nt-size:10.0pt;font-family:"Trebuchet MS";=0Amso-bidi-font-family=
:Arial"><o:p> </o:p></span></p>=0A=0A<p class=3D"MsoNormal"><span lang=
=3D"EN-US" style=3D"font-size:10.0pt;font-family:"Trebuchet MS";=
=0Amso-bidi-font-family:Arial">Not: The remote server uses TAO ORB. So, thi=
s is a=0ATAO - Orbit tunnel. The Orbit version I used is 2.14.16.<o:p></o:p=
></span></p>=0A=0A<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font=
-size:10.0pt;font-family:"Trebuchet MS";=0Amso-bidi-font-family:A=
rial"><o:p> </o:p></span></p>=0A=0A<p class=3D"MsoNormal"><span lang=
=3D"EN-US" style=3D"font-size:10.0pt;font-family:"Trebuchet MS";=
=0Amso-bidi-font-family:Arial">Regards,<o:p></o:p></span></p>=0A=0A<p class=
=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-family:&=
quot;Trebuchet MS";=0Amso-bidi-font-family:Arial">Said<o:p></o:p></spa=
n></p></td></tr></table><br>=0A=0A
--0-482899992-1300268285=:36260--
--===============0099797771==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
orbit-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/orbit-list
--===============0099797771==--