mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-05 13:45:46 +00:00
Bug 1165423 - WebRTC Fix DTLS handshake by expanding UDP buffer. r=rjesup
--HG-- extra : rebase_source : ad42c8dcf8282c13383af54ac26bb2b0ce740c62
This commit is contained in:
parent
b724b82073
commit
8e5e509026
@ -660,7 +660,9 @@ nsUDPSocket::OnSocketReady(PRFileDesc *fd, int16_t outFlags)
|
||||
|
||||
PRNetAddr prClientAddr;
|
||||
uint32_t count;
|
||||
char buff[1500];
|
||||
// Bug 1165423 - using 8k here because the packet could be larger
|
||||
// than the MTU with fragmentation
|
||||
char buff[8 * 1024];
|
||||
count = PR_RecvFrom(mFD, buff, sizeof(buff), 0, &prClientAddr, PR_INTERVAL_NO_WAIT);
|
||||
|
||||
if (count < 1) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user