mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-27 21:54:16 +00:00
different version of last commit
This commit is contained in:
1 parent
1be966ea01
commit
4b064aa96b
3 files changed
+14
-7
No files matched your search
@@ -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
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user