Yes, it's quite long in the cvs. I don't remember why the break statement is in the {} block, so sockets with ok status get closed. Maybe another problem is that we call ErrorHandler when no erro occurs. >From the trace Hassan attached the socket is closed when the ErrorHandler is called with no error code set (0/0 in the log). This may happen on some platforms when os_send sends no bytes (and it's valid as non-blocking mode is active). ----- Original Message ----- From: "Jan Willamowius" <jan@xxxxxxxxxxxxxx> To: <openh323gk-users@xxxxxxxxxxxxxxxxxxxxx> Sent: Saturday, December 15, 2007 8:28 AM Subject: Re: Telnet Problem > Hi, > > I found that place in a 2.2.7 code review suspicious and checked if we > had recently broken it. Turns out that code has been that way since > 2003. So its odd that Hassan reports 2.2.4 (?) was ok and later > versions broke, Then again this whole thing is odd anyway... > > Please let us know if changing this helps, Hassan. > > Regards, > Jan > > > Zygmuntowicz Michal wrote: >> I think I found the problem. Try to edit your yasocket.cxx file around >> line >> 653 >> (I refer to 2.2.6 sources) and change from: >> >> CloseSocket(); >> break; >> } >> >> to: >> >> CloseSocket(); >> } >> break; >> >> (move "break" out of the {} block) >> >> This should help - please let us know. If it works, I will commit the fix >> to >> the cvs. >> >> ----- Original Message ----- >> From: "Nyamul Hassan" <mnhassan@xxxxxxx> >> To: "GNU Gatekeeper Users" <openh323gk-users@xxxxxxxxxxxxxxxxxxxxx> >> Sent: Wednesday, December 12, 2007 9:06 PM >> Subject: Re: Telnet Problem >> >> >> > I've run a test on a low call load (~ 60 calls) from my remote Win2k3 >> > machine, on my GK running 2.2.6, and was disconnected exactly after >> > 10240 >> > bytes. I'm attaching a debug trace 6 output when this occurs. I've >> > changed >> > the IP of my GK along with IPs of the other endpoints that I could find >> > and >> > conveniently named them for easier reading. Do you need a packet >> > capture >> > as >> > well? >> > >> > I've run the test using both Microsoft telnet client, and PuTTY, and >> > both >> > of >> > them show the same problem, being disconnected exactly after 10240 >> > bytes >> > of >> > data. Since the call load was quite on the lower side, do you think >> > that >> > this is a socket issue? Moreover, when we logon to the Status Port, >> > isn't >> > it just communication between IP_A:PortA and IP_B:PortB during the >> > entire >> > length of the session? If the GK accepts the connecting coming in and >> > opens >> > a socket, then would the GK need any more sockets to send output of the >> > CV >> > command? >> > >> > I was not working today during peak hours, so couldn't take more data >> > from >> > the localhost. Will do that tomorrow and send you the level 6 trace. >> > >> > Regards >> > HASSAN >> >> >> ------------------------------------------------------------------------- >> SF.Net email is sponsored by: >> Check out the new SourceForge.net Marketplace. >> It's the best place to buy or sell services >> for just about anything Open Source. >> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace >> _______________________________________________________ >> >> Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx >> Archive: >> http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users >> Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users >> Homepage: http://www.gnugk.org/ >> > > > -- > Jan Willamowius, jan@xxxxxxxxxxxxxx, http://www.gnugk.org/ > > ------------------------------------------------------------------------- > SF.Net email is sponsored by: > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services > for just about anything Open Source. > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________________ > > Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx > Archive: > http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users > Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users > Homepage: http://www.gnugk.org/ ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________________ Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx Archive: http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users Homepage: http://www.gnugk.org/