Re: TCP Representative Stream Problems
On Wed, 6 Nov 2002, Kevin Gibbs wrote:
> PS If you want to apply a hack to have representative streams work you
> will need to effectively disable the MSS detection code. To do
> this simply add a "return;" as the first command in the
> "PerfSocket::Server_Send_TCP" around line 360 of src/PerfSocketTCP.cpp
>
> This will make MSS detection not work and will most likely halt any
> clients attempting to do MSS detection with that server. But it will get
> the representative streams working properly.
Ok so that was a poor hack and did not work. Instead look at about line
180 of src/PerfSocket_TCP there is a if statement of the form:
if ((currLen >0) && (mBuf[0] == 'a')) {
change it to:
if (false) {
Kevin
PS also note that the bad value is not 0xA but the ascii value for 'a' as
seen in the above for loop.
--
Mitch Kutzko | mitch --at-- dast.nlanr.net | mitch --at-- ncsa.uiuc.edu | 217-333-1199
http://hobbes.ncsa.uiuc.edu/