Index: net/third_party/nss/ssl/ssldef.c |
=================================================================== |
--- net/third_party/nss/ssl/ssldef.c (revision 127709) |
+++ net/third_party/nss/ssl/ssldef.c (working copy) |
@@ -138,6 +138,11 @@ |
return rv; |
} |
sent += rv; |
+ |
+ if (IS_DTLS(ss) && (len > sent)) { |
+ /* We got a partial write so just return it */ |
+ return sent; |
+ } |
} while (len > sent); |
ss->lastWriteBlocked = 0; |
return sent; |