diff options
author | wtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-27 16:52:00 +0000 |
---|---|---|
committer | wtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-27 16:52:00 +0000 |
commit | 1a151fb5f0a18cbf30005400ff1fe872915f8c8d (patch) | |
tree | 6c794981aaece762b9f92f008003291541ca6390 /net/http/http_chunked_decoder_unittest.cc | |
parent | 96179e1ac9fc77b78b0d25d16893eb146d1a1848 (diff) | |
download | chromium_src-1a151fb5f0a18cbf30005400ff1fe872915f8c8d.zip chromium_src-1a151fb5f0a18cbf30005400ff1fe872915f8c8d.tar.gz chromium_src-1a151fb5f0a18cbf30005400ff1fe872915f8c8d.tar.bz2 |
After r12485, every POST request has an UploadData, even if
no data needs to be uploaded, so that we can set the
identifier field in UploadData.
So we should now enter the STATE_WRITE_BODY state only if
request_body_stream_ has a nonzero size, so that we won't
call connection_.socket()->Write() with zero bytes.
R=darin
BUG=9347
Review URL: http://codereview.chromium.org/42681
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12660 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_chunked_decoder_unittest.cc')
0 files changed, 0 insertions, 0 deletions