Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
language: go

go:
- 1.3
- 1.4
- 1.5
- 1.6
- 1.9
- '1.10'
- 1.11
- 1.12
- 1.13
- tip

install: go get

Expand Down
2 changes: 1 addition & 1 deletion scgi.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ func (s *Server) handleScgiRequest(fd io.ReadWriteCloser) {
defer fd.Close()
req, err := s.readScgiRequest(fd)
if err != nil {
s.Logger.Println("Error reading SCGI request: %q", err.Error())
s.Logger.Printf("Error reading SCGI request: %q\n", err.Error())
return
}
sc := scgiConn{fd, req, make(map[string][]string), false}
Expand Down
2 changes: 1 addition & 1 deletion web_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ func TestReadScgiRequest(t *testing.T) {
var s Server
httpReq, err := s.readScgiRequest(&ioBuffer{input: req, output: nil})
if err != nil {
t.Fatalf("Error while reading SCGI request: ", err.Error())
t.Fatalf("Error while reading SCGI request: %s", err.Error())
}
if httpReq.ContentLength != 12 {
t.Fatalf("Content length mismatch, expected %d, got %d ", 12, httpReq.ContentLength)
Expand Down