[remoting host] Add stream ready timeout for stream requests
Stream requests unlike unary requests don't set the request timeout, since that would simply destroy the stream if it hasn't been closed within the timeout. This CL adds a OneShotTimer to ProtobufHttpStreamRequest to run the StreamClosedCallback with DEADLINE_EXCEEDED if the stream does not receive its first data within the timeout. Bug: 1123199 Change-Id: Iaeb9c5c4f896d2a24378bb83c57d2d39ab49312c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2386280 Commit-Queue: Yuwei Huang <yuweih@chromium.org> Reviewed-by:Joe Downing <joedow@chromium.org> Cr-Commit-Position: refs/heads/master@{#803615}
Showing
Please register or sign in to comment