Re: [Live-devel] Q: incomingRequestHandler1, bytesRead == fRequestSpaceRemaining

2007-12-05 Thread Ross Finlayson
In RTSPServer::incomingRequestHandler1() conditional "if (bytesRead <= 0 || (unsigned)bytesRead >= fRequestSpaceRemaining)" Q: Is it really a failure if the number of bytes read == the amount of space available? Yes, because there would then be no room for us to add a trailing '\0' character

[Live-devel] Q: incomingRequestHandler1, bytesRead == fRequestSpaceRemaining

2007-12-05 Thread xcsmith
In RTSPServer::incomingRequestHandler1() conditional "if (bytesRead <= 0 || (unsigned)bytesRead >= fRequestSpaceRemaining)" Q: Is it really a failure if the number of bytes read == the amount of space available? I was thinking that it would be because we wouldn't know if there was more to read