[Live-devel] Remote close handling in RTSPClient

Igor Milavec igor.milavec at lsi.si
Fri Feb 20 06:19:34 PST 2009


Hi.

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.");

Sorry if this post is inappropriate, I haven't found any directions about reporting bugs on the web, that's why I'm posting it here.

Regards, Igor

-----
Igor Milavec
Ličer Solutions d.o.o.
Cesta Andreja Bitenca 68
SI-1000 Ljubljana
Tel:        +386 1 5101-780
Fax:       +386 1 5101-785

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20090220/1e789de3/attachment.html>


More information about the live-devel mailing list