1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-01-05 10:20:53 +02:00

Merge branch 'master' of ssh://github.com/asim/go-micro

This commit is contained in:
asim 2022-07-22 10:22:58 +01:00
commit a8224e1c67
2 changed files with 2 additions and 2 deletions

View File

@ -75,6 +75,7 @@ See the [examples](https://github.com/go-micro/examples) for detailed informatio
See [github.com/go-micro](https://github.com/go-micro) for tooling.
- [API](https://github.com/go-micro/api)
- [CLI](https://github.com/go-micro/cli)
- [Demo](https://github.com/go-micro/demo)
- [Plugins](https://github.com/go-micro/plugins)

View File

@ -153,12 +153,11 @@ func (h *httpTransportClient) Recv(m *Message) error {
}
h.Lock()
defer h.Unlock()
if h.closed {
h.Unlock()
return io.EOF
}
rsp, err := http.ReadResponse(h.buff, r)
h.Unlock()
if err != nil {
return err
}