And note also that your proposed patch is not guaranteed to work, because sometimes more than one socket read operation (on a TCP connection) is needed to get all of the data. This is precisely why the “Content-Length:” value is important; it tells the client precisely how much data it needs to read (regardless of how many individual socket read operations it performs). Once again, by not setting “Content-Length:” to a proper value, your server (network camera) has a bug - which needs to be fixed.
Ross Finlayson Live Networks, Inc. http://www.live555.com/ _______________________________________________ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel