Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(380)

Issue 25217002: net: Reset UploadDataStream on HttpNetworkTransaction destruction (Closed)

Created:
7 years, 2 months ago by hashimoto
Modified:
7 years, 2 months ago
Reviewers:
mmenke
CC:
chromium-reviews, cbentzel+watch_chromium.org, eroman
Visibility:
Public.

Description

net: Reset UploadDataStream on HttpNetworkTransaction destruction Make UploadDataStream::Reset public. Call Reset() from HttpNetworkTransaction's dtor. Add tests. BUG=244725 TEST=net_unittests --gtest_filter="*HttpNetworkTransactionTest.CancelDuringInitRequestBody*" Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=226433

Patch Set 1 : #

Total comments: 4

Patch Set 2 : fix nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -1 line) Patch
M net/base/upload_data_stream.h View 1 chunk +1 line, -1 line 0 comments Download
M net/http/http_network_transaction.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download
M net/http/http_network_transaction_unittest.cc View 1 1 chunk +56 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
hashimoto
Please review. I'd like to submit this change instead of https://codereview.chromium.org/23775010/ if it looks good ...
7 years, 2 months ago (2013-09-30 07:48:41 UTC) #1
mmenke
LGTM, just nits. https://codereview.chromium.org/25217002/diff/3001/net/http/http_network_transaction.cc File net/http/http_network_transaction.cc (right): https://codereview.chromium.org/25217002/diff/3001/net/http/http_network_transaction.cc#newcode168 net/http/http_network_transaction.cc:168: request_->upload_data_stream->Reset(); // Invalidate pending operations. Comment ...
7 years, 2 months ago (2013-10-02 01:02:54 UTC) #2
hashimoto
https://codereview.chromium.org/25217002/diff/3001/net/http/http_network_transaction.cc File net/http/http_network_transaction.cc (right): https://codereview.chromium.org/25217002/diff/3001/net/http/http_network_transaction.cc#newcode168 net/http/http_network_transaction.cc:168: request_->upload_data_stream->Reset(); // Invalidate pending operations. On 2013/10/02 01:02:54, mmenke ...
7 years, 2 months ago (2013-10-02 03:45:34 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hashimoto@chromium.org/25217002/15001
7 years, 2 months ago (2013-10-02 03:46:50 UTC) #4
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 2 months ago (2013-10-02 05:40:21 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hashimoto@chromium.org/25217002/15001
7 years, 2 months ago (2013-10-02 07:55:45 UTC) #6
commit-bot: I haz the power
7 years, 2 months ago (2013-10-02 08:14:04 UTC) #7
Message was sent while issue was closed.
Change committed as 226433

Powered by Google App Engine
This is Rietveld 408576698