commit | 3efc482190c9c2fa80cb0fc80d160624514652db | [log] [tgz] |
---|---|---|
author | Alexandru Moșoi <brtzsnr@gmail.com> | Fri Aug 31 15:52:27 2012 -0400 |
committer | Russ Cox <rsc@golang.org> | Fri Aug 31 15:52:27 2012 -0400 |
tree | 0522bc2ddf197c88b0b153e220e1335d8f5b14f5 | |
parent | 6d0e3242eb296922995c6335de4d5c8bcd88728a [diff] |
net/rpc/jsonrpc: handles missing "params" in jsonrpc. A crash happens in the first request in a connection if "params" field is missing because c.req.Params is Nil. Fixes #3848. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6446051