commit | 4698117464dcc63f427cf0db12cb5b5c5e7c5bd6 | [log] [tgz] |
---|---|---|
author | Michael Piatek <piatek@google.com> | Mon Jan 06 10:51:23 2014 -0800 |
committer | Brad Fitzpatrick <bradfitz@golang.org> | Mon Jan 06 10:51:23 2014 -0800 |
tree | 26851ac19a0401d3b2f7d486bdce52bcca0f7033 | |
parent | 384e4d292e0c5ec2dc57cc8667ae72e907599ee9 [diff] |
go.net/html: Expose data read from the input reader but not yet tokenized in Tokenizer. This allows clients to efficiently reconstruct the original input in the case of ErrBufferExceeded. TestMaxBufferReconstruction now properly verifies this. R=bradfitz CC=golang-codereviews https://golang.org/cl/47770043