On context cancellation, close the connection first to unblock ReadFcall. Then wait for in-flight handlers, drain the response channel, and wait for the writer to finish. No writes hit a closed socket. |
||
|---|---|---|
| .. | ||
| internal | ||
| test | ||
| .gitignore | ||
| integration_test.go | ||
| main.go | ||
| p9.go | ||