New issue
Advanced search Search tips

Issue 606818 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Apr 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: iOS
Pri: 1
Type: Bug



Sign in to add a comment

[Cronet] iOS CronetBidirectionalStream should handle failure before Write task is executed on network thread

Project Member Reported by xunji...@chromium.org, Apr 26 2016

Issue description

components/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. 


 

Comment 2 by mef@chromium.org, Apr 30 2016

Status: Fixed (was: Assigned)

Sign in to add a comment