This commit is contained in:
xzl 2017-06-26 15:00:55 +08:00
parent 20344feec0
commit fcfb434cf2

View File

@ -56,7 +56,7 @@ RtspSession::RtspSession(const std::shared_ptr<ThreadPool> &pTh, const Socket::P
#ifndef __x86_64__ #ifndef __x86_64__
SockUtil::setSendBuf(pSock->rawFD(), 32*1024); SockUtil::setSendBuf(pSock->rawFD(), 32*1024);
SockUtil::setCloseWait(pSock->rawFD(), 0); SockUtil::setCloseWait(pSock->rawFD(), 0);
pSock->setTcpBufSize(32*1024); pSock->setSendPktSize(32);
#endif//__x86_64__ #endif//__x86_64__
DebugL << getPeerIp(); DebugL << getPeerIp();