commit | c10e262955e9f7bf20aaa801af6ff2dd14674159 | [log] [tgz] |
---|---|---|
author | Dmitri Shuralyov <shurcooL@gmail.com> | Fri Jan 09 23:26:36 2015 -0800 |
committer | Minux Ma <minux@golang.org> | Sat Jan 10 08:10:09 2015 +0000 |
tree | 632feb7f45d88a4cf837ad14b469652b729d15f5 | |
parent | 9468e480c808603061c9404002ee3d39c70f4e7e [diff] |
go/vcs: fix bug in remote package discovery The parser was assuming it would find <body> or </head>. If the entire response is just <meta> tags, it finds EOF and treats that as an error. It's not. This is the same change as in https://golang.org/cl/68520044. Fixes #9556. Change-Id: If51ed36e7364c15788311039caf8323eb5fe9a6c Reviewed-on: https://go-review.googlesource.com/2650 Reviewed-by: Minux Ma <minux@golang.org>