Open ashish-varma opened 1 year ago
The code looks good to me, I just want to confirm if any existing API can be used in the net.Conn to control timeout in Write action
Having an offline discussion with @ashish-varma, no better solution is found. Would you give some suggestions @tnqn @antoninbas
The code looks good to me, I just want to confirm if any existing API can be used in the net.Conn to control timeout in Write action
Having an offline discussion with @ashish-varma, no better solution is found. Would you give some suggestions @tnqn @antoninbas
I had the same question as @wenyingd, and I don't see an answer here yet. Why can't we use SetWriteDeadline
?
The code looks good to me, I just want to confirm if any existing API can be used in the net.Conn to control timeout in Write action
Having an offline discussion with @ashish-varma, no better solution is found. Would you give some suggestions @tnqn @antoninbas
I had the same question as @wenyingd, and I don't see an answer here yet. Why can't we use
SetWriteDeadline
?
It make more sense to use SetWriteDeadline. I am testing the code with this and update the commit. Thanks for the suggestion.
@antoninbas @tnqn Do you have other comments on this change?
Fixed naming of some of the variables to more appropriate names.