1
0
mirror of https://github.com/golang/go synced 2024-11-18 16:34:51 -07:00
go/src/net/textproto
BurtonQin 4874835232 net/textproto, sync: unlock mutexes appropriately before panics
Ensure mutexes are unlocked right before panics, where defers aren’t easily usable.

Change-Id: I67c9870e7a626f590a8de8df6c8341c5483918dc
GitHub-Last-Rev: bb8ffe538b
GitHub-Pull-Request: golang/go#37143
Reviewed-on: https://go-review.googlesource.com/c/go/+/218717
Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com>
Run-TryBot: Emmanuel Odeke <emm.odeke@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2020-04-08 16:19:51 +00:00
..
header_test.go net/http, net/textproto: add Header.Values, MIMEHeader.Values methods 2019-10-17 18:21:01 +00:00
header.go net/http, net/textproto: add Header.Values, MIMEHeader.Values methods 2019-10-17 18:21:01 +00:00
pipeline.go net/textproto, sync: unlock mutexes appropriately before panics 2020-04-08 16:19:51 +00:00
reader_test.go net/http, net/textproto: add Header.Values, MIMEHeader.Values methods 2019-10-17 18:21:01 +00:00
reader.go net/textproto: pass missing argument to fmt.Sprintf 2020-03-01 02:13:41 +00:00
textproto.go
writer_test.go
writer.go