diff options
| author | Mikhail Osipov <mike.osipov@gmail.com> | 2020-09-10 00:18:05 +0300 |
|---|---|---|
| committer | Mikhail Osipov <mike.osipov@gmail.com> | 2020-09-10 00:18:05 +0300 |
| commit | 92fdd0e34e1fddf3cc85c3e0691d4fd1196bc382 (patch) | |
| tree | 91ad84809c7d46e06196bd931cbeda34b648e869 /pkg/http/http.go | |
| parent | cc5f5c9dbd8076a3a119c2b0e214e4d9c4f9bb1d (diff) | |
expandable variable syntax
Diffstat (limited to 'pkg/http/http.go')
| -rw-r--r-- | pkg/http/http.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/http/http.go b/pkg/http/http.go index 4180c81..04e26ef 100644 --- a/pkg/http/http.go +++ b/pkg/http/http.go @@ -77,7 +77,7 @@ func parse(r *bufio.Reader, init handler, f handler) error { } if line == "" { - return nil + break } if err := f(line); err != nil { |
