trafficserver
trafficserver copied to clipboard
NOT_WRITE_AVAIL: schedule event to resend data frames
When sending DATA frames, we check that we are not exceeding our write buffer's high water mark. If so, we don't write the frame. Unfortunately, before this patch, no event was scheduled to come back and try to resend any unwritten frames. This led to dropped frames at times. This patch adds a scheduled event to later re-try sending the unsent frames.
This patch also updates the grpc.test.py to send 100 messages instead of 1 which, at least on my local system, reproduced this issue.
I'm running this on a box in Yahoo production and it is running fine.