D&C Lug - Home Page
Devon & Cornwall Linux Users' Group

[ Date Index ][ Thread Index ]
[ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Strange network / perl problem



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 02 July 2002 6:19 pm, Steve Marvell wrote:
The thinking went ... if the client is not allowed to pull the data
from the word go, then that might be enough to cause an eventual
buffer filling situation.

but it's all blocking i/o.  neither should close the connection until the 
client has finsihed reading the data.  The server side print()'s will block  
until the client has read it (or more exact, once the client kernel bufer for 
that stream is filled up) - thats the really odd thing.

Hmmm

Maybe it's enough to do this, but it might be worth noting that if you
have even more server data in the future, you might end up with the
same problem. But then, I'm sure you knew that.

i've just tried getting the server side to print out 1,000,000 lines of:

"TEST=NULL ***************************************************** 
*****************************************************"

and it still doesn't seem to cause a problem.  Most odd.

ARGH.

~ Theo

- -- 

Theo Zourzouvillys
http://zozo.org.uk/

If two people love each other, there can be no happy end to it.
               -- Ernest Hemingway
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9IeKJ448CrwpTn6YRAtXsAJ9Mpep2mLAiPXDGhUEoCmOgjdGdTACgtMvZ
d7ZaH1v3CBmMeCjdMm7jtHQ=
=equP
-----END PGP SIGNATURE-----


--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe.


Lynx friendly