different version of last commit

This commit is contained in:
Anthony Minessale committed 2011-12-10 07:40:46 -06:00
1 parent 1be966ea01
commit 4b064aa96b
3 files changed
+14 -7

No files matched your search

+4 -1
View File
@@ -85,7 +85,10 @@ static switch_status_t rtmp_tcp_read(rtmp_session_t *rsession, unsigned char *bu
switch_size_t olen = *len;
#endif
switch_assert(*len > 0 && *len < 1024000);
status = switch_socket_recv(io_pvt->socket, (char*)buf, len);
do {
status = switch_socket_recv(io_pvt->socket, (char*)buf, len);
} while(status != SWITCH_STATUS_SUCCESS && SWITCH_STATUS_IS_BREAK(status));
#ifdef RTMP_DEBUG_IO
{