mirror of
https://github.com/golang/go.git
synced 2026-06-28 03:40:37 +00:00
net/http/fcgi: handle error returned by w.Close() in writePairs
Change-Id: Ibb0b9a14d13347ccd33a77e98f485fdde2b99c7c
GitHub-Last-Rev: a2364f5ec4
GitHub-Pull-Request: golang/go#79201
Reviewed-on: https://go-review.googlesource.com/c/go/+/774160
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Junyang Shao <shaojunyang@google.com>
Reviewed-by: Sean Liao <sean@liao.dev>
Auto-Submit: Sean Liao <sean@liao.dev>
LUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
This commit is contained in:
parent
880ef11ecf
commit
7d2eb15103
1 changed files with 1 additions and 2 deletions
|
|
@ -189,8 +189,7 @@ func (c *conn) writePairs(recType recType, reqId uint16, pairs map[string]string
|
|||
return err
|
||||
}
|
||||
}
|
||||
w.Close()
|
||||
return nil
|
||||
return w.Close()
|
||||
}
|
||||
|
||||
func readSize(s []byte) (uint32, int) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue