[Live-devel] live555 blocked on a select
Ross Finlayson
finlayson at live555.com
Thu Feb 18 21:59:11 PST 2010
> > If you can track this down some more, please let us know.
>
>Ok, so the client is blocked in RTSPClient.cpp -> getResponse1 line 2191 in a
>readsocket call.
>
>The comment in the file says :
> // Keep reading data from the socket until we see "\r\n\r\n" (except
> // at the start), or until we fill up our buffer.
> // Don't read any more than this.
>
>and at this point the buffer (what has been read in the socket) is
>[1] (404 not
>found, ending with \r\n)
>So obviously, it won't go any further, because the server won't send anything
>more, and live555 client is waiting for another \r\n
>
>This happens in some rare cases, and most of the time, the same
>answer (404 not
>found with no \r\n\r\n at the end) is correctly received and handled by my
>live555 client.
>
>Do you have any idea what is wrong in this case ?
Perhaps the server is (erroneously) ending its response only with
\r\n, and not with \r\n\r\n ?
--
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
More information about the live-devel
mailing list