From d382c38547bdfcdc6d9f0511303c428d0d9a796e Mon Sep 17 00:00:00 2001 From: Antoni Sawicki Date: Thu, 30 May 2019 02:15:52 -0700 Subject: [PATCH] unexpected eof on windows --- README.md | 1 + wrp.go | 1 + 2 files changed, 2 insertions(+) diff --git a/README.md b/README.md index 7246403..a030bca 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,7 @@ A HTTP proxy server that allows to use historical and obsolete web browsers on t ## Todo * configurable size and scale * ISMAP +* unexpected EOF on Windows * configurable color palete and quantization * paginated scrolling * real http proxy support diff --git a/wrp.go b/wrp.go index b6f9206..d700209 100644 --- a/wrp.go +++ b/wrp.go @@ -96,6 +96,7 @@ func capture(gourl string, out http.ResponseWriter) { log.Printf("Landed on: %s, Got %d nodes\n", loc, len(nodes)) // Process Screenshot Image + bytes.NewReader(pngbuf).Seek(0, 0) img, err := png.Decode(bytes.NewReader(pngbuf)) if err != nil { log.Printf("Failed to decode screenshot: %s\n", err)