[Live-devel] Overuse of CPU in binaries of CYGWIN
Ross Finlayson
finlayson at live555.com
Wed Feb 26 17:37:11 PST 2014
>> The "RTSPClientConnection" object gets deleted if the call to
>> "readSocket()" in
>> "RTSPServer::RTSPClientConnection::incomingRequestHandler1()" (line 786
>> of "RTSPServer.cpp) returns a value < 0 - which should happen when the
>> remote (i.e., client) end of the TCP connection gets closed
>
> The FreeBSD recv() page says that
Note that I was referring to our "readSocket()" function, *not* the system "recv()"/"recvfrom()" function. Our "readSocket()" function - which is a wrapper around "recvfrom()" - returns -1 *even if* the "recvfrom()" call returns 0, for precisely the reason you mentioned.
Please everybody, stop 'speculating' on imagined bugs in the code. Remember, You Have Complete Source Code. If you find a real bug, please report it (with a clear explanation of why it's a bug). But I'm not going to waste time following up on random speculation (especially if it's about something that supposedly happens only with Windows).
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20140227/a3a0e21f/attachment.html>
More information about the live-devel
mailing list