ing
This commit is contained in:
parent
911e6ec1d7
commit
d3a86a8a34
|
@ -37,6 +37,10 @@ func (srwch *ServletReadWriteCloseHandlers) WriteResponse(servletCTX rpc.Servlet
|
|||
return wErr
|
||||
}
|
||||
|
||||
defer func() {
|
||||
wc.Close()
|
||||
}()
|
||||
|
||||
if nil != err {
|
||||
if wErr := requestCodec.WriteError(wc, 500, err); nil != wErr {
|
||||
return wErr
|
||||
|
|
Loading…
Reference in New Issue
Block a user