Closed soulbird closed 5 years ago
VM blocked on Recv even after cancelling context. So the function of doRequest may should add follow code: ctx := L.Context() if ctx != nil { req = req.WithContext(ctx) }
doRequest
ctx := L.Context() if ctx != nil { req = req.WithContext(ctx) }
Thanks for the suggestion. I have just pushed a commit to implement this.
VM blocked on Recv even after cancelling context. So the function of
doRequest
may should add follow code:ctx := L.Context() if ctx != nil { req = req.WithContext(ctx) }