Sent: Friday, February 11, 2000 12:51 PM
Subject: cfx_tcpclient bug fix

When I get " RECV Error - no response for %lds %lums "
(i.e. no more data to read) the recv CF variable will have
random crap in it since SocketRecv never appends
a NULL to recvp.  So when SetVariable is called, it
copies memory from recvp's address until it does find
a NULL--somewhere else.  Obviously this will cause problems
with some recv loops unless you code around it. :)

I fixed this by adding
*recvp=0;
after
recvp=(char *)malloc(1);
in SocketRecv() in Request.cpp.

Thanks for the code! :)

-Jonathan

