[Live-devel] Remote close handling in RTSPClient

Ross Finlayson finlayson at live555.com
Fri Feb 20 13:02:21 PST 2009


>I have noticed a tiny bug in RTSPClient disconnect handling. The 
>current line 2513 in RTSPClient.cpp reads:
>     envir().setResultErrMsg("Failed to read response: ");
>
>However, reading 0 bytes is a normal operation and not an error, 
>thats why errno will not be set and the caller will get incomplete 
>status information with this implementation. I propose to change 
>this line to:
>     envir().setResultMsg("Failed to read response: Connection was 
>closed by the remote host.");

Thanks.  This will be fixed in the next release of the code.

>  Sorry if this post is inappropriate

No, this mailing list is exactly the right place for reporting bugs.
-- 

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/


More information about the live-devel mailing list