Descriptionnet/rpc: shut down connection if gob has error
The nicest solution would be to buffer the message and only write
it if it encodes correctly, but that adds considerable memory and
CPU overhead for a very rare condition. Instead, we just shut
down the connection if this happens.
Fixes issue 7689.
Patch Set 1 #Patch Set 2 : diff -r 5cf5d1f289a7c32de62e461f81d16fd4f4bf76ca https://code.google.com/p/go #Patch Set 3 : diff -r 5cf5d1f289a7c32de62e461f81d16fd4f4bf76ca https://code.google.com/p/go #MessagesTotal messages: 3
|