[Cronet] iOS CronetBidirectionalStream should handle failure before Write task is executed on network thread |
||
Issue descriptioncomponents/cronet/ios/cronet_bidirectional_stream.cc CronetBidirectionalStream::WriteData calls WriteDataOnNetworkThread to send data. However, if there is failure happened between the time when the task is posted and when the task is executed (for instance, if server terminates the connection), WriteDataOnNetworkThread will end up calling a null |bidi_stream_|. WriteDataOnNetworkThread should do a null check.
,
Apr 30 2016
|
||
►
Sign in to add a comment |
||
Comment 1 by bugdroid1@chromium.org
, Apr 29 2016