netchan: zero out request to ensure correct gob decoding. Gob decoding does not overwrite fields which are zero in the encoder. Fixes issue 1174.
netchan: zero out request to ensure correct gob decoding.
Gob decoding does not overwrite fields which are zero
in the encoder.
Fixes issue 1174.

R=r, r2
CC=golang-dev
http://codereview.appspot.com/2337044

Committer: Rob Pike <4dc7c9ec434ed06502767136789763ec11d2c4b7@golang.org>

dsriram/golang,tv42/old-go,pombredanne/go-deleteme,gnanderson/go,gnanderson/go,dsriram/golang,ssrl/go,pombredanne/go-deleteme,pombredanne/go-deleteme,apparentlymart/golang,tv42/old-go,tv42/old-go,gnanderson/go,gnanderson/go,ssrl/go,apparentlymart/golang,dsriram/golang,pombredanne/go-deleteme,gnanderson/go,ssrl/go,apparentlymart/golang,apparentlymart/golang,dsriram/golang,h8liu/golang,h8liu/golang,h8liu/golang,dsriram/golang,apparentlymart/golang,h8liu/golang,tv42/old-go,apparentlymart/golang,gnanderson/go,dsriram/golang,tv42/old-go,tv42/old-go,pombredanne/go-deleteme,ssrl/go,apparentlymart/golang,ssrl/go,dsriram/golang,h8liu/golang,ssrl/go,h8liu/golang,tv42/old-go,h8liu/golang,gnanderson/go,pombredanne/go-deleteme,pombredanne/go-deleteme,ssrl/go