]> Cypherpunks repositories - gostls13.git/commit
encoding/json: fix EOF bug decoding HTTP stream
authorPeter Waldschmidt <peter@waldschmidt.com>
Tue, 28 Jul 2015 01:33:53 +0000 (21:33 -0400)
committerRuss Cox <rsc@golang.org>
Tue, 28 Jul 2015 02:51:55 +0000 (02:51 +0000)
commit7e70c2468b6db5f4ebfa59714e9c561ba045e41c
tree7420ae0cdcbf6439fea9a3fc1b1650cf4fe69f74
parenta01d90744fe5d12ce8b48e7d3c6e67e954a9fe55
encoding/json: fix EOF bug decoding HTTP stream

Fixes bug referenced in this thread on golang-dev:
https://groups.google.com/d/topic/golang-dev/U4LSpMzL82c/discussion

Change-Id: If01a2644863f9e5625dd2f95f9d344bda772e12c
Reviewed-on: https://go-review.googlesource.com/12726
Reviewed-by: Russ Cox <rsc@golang.org>
src/encoding/json/stream.go
src/encoding/json/stream_test.go