summaryrefslogtreecommitdiffstats
path: root/net/http/http_chunked_decoder.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove HTTP pipelining support.mmenke@chromium.org2014-05-271-2/+1
| | | | | | | | | | | | | | | | It's been a couple years since anyone worked on it, and there are no plans to enable it by default. Cached pipelining-related server information will automatically be cleared when server information is next saved, so there are no issues on that front. BUG=364557 R=asvitkine@chromium.org, eroman@chromium.org, grt@chromium.org, sky@chromium.org, willchan@chromium.org, zea@chromium.org Review URL: https://codereview.chromium.org/275953002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@272903 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a crash when a line containing the length of an HTTPmmenke@chromium.org2012-10-181-0/+4
| | | | | | | | | | | chunk-encoded response is too long. R=willchan@chromium.org BUG=155711 Review URL: https://chromiumcodereview.appspot.com/11191003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@162756 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the rest of #pragma once in one big CL.ajwong@chromium.org2012-07-111-1/+0
| | | | | | | | | For context see this thread: https://groups.google.com/a/chromium.org/forum/?fromgroups#!topic/chromium-dev/RMcVNGjB4II TBR=thakis,pkasting,jam git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146163 0039d316-1c4b-4281-b951-d872f2087c98
* Rename NET_API to NET_EXPORT, and rename NET_TEST to NET_EXPORT_PRIVATE.darin@chromium.org2011-08-121-2/+2
| | | | | | Review URL: http://codereview.chromium.org/7529043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96560 0039d316-1c4b-4281-b951-d872f2087c98
* Net: Add NET_API to some http code.rvargas@google.com2011-05-191-2/+4
| | | | | | | | BUG=76997 TEST=NONE Review URL: http://codereview.chromium.org/6969080 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86009 0039d316-1c4b-4281-b951-d872f2087c98
* Convert LOG(INFO) to VLOG(1) - net/.pkasting@chromium.org2010-10-161-3/+7
| | | | | | | | | | Also converts COOKIE_DLOG (since VLOG can be toggled on a granular basis), removes some unneeded "endl"s and {}s, aligns "<<"s per style guide, and changes KeygenHandler::GenKeyAndSignChallenge() to avoid using "goto". BUG=none TEST=none Review URL: http://codereview.chromium.org/3846001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62831 0039d316-1c4b-4281-b951-d872f2087c98
* `#pragma once` for app, base, chrome, gfx, ipc, net, skia, viewsthakis@chromium.org2010-07-261-0/+1
| | | | | | | | | BUG=50273 TEST=everything still builds, build is 10% faster on windows, same speed on mac/linux TBR: erg git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53716 0039d316-1c4b-4281-b951-d872f2087c98
* Add an interface to report the amount of data after a chunked encoding. This ↵vandebo@chromium.org2009-10-131-0/+7
| | | | | | | | | | | will be needed for pipelining. Separated out of http://codereview.chromium.org/249031. BUG=13289 TEST=existing and added unittests Review URL: http://codereview.chromium.org/267042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28833 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor so checking for number error is done by ParseChunkSize() rather ↵ericroman@google.com2009-06-181-3/+3
| | | | | | | | than the caller of ParseChunkSize(). Review URL: http://codereview.chromium.org/132037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18768 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes CRLF and trailing white spaces.maruel@chromium.org2009-03-051-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10982 0039d316-1c4b-4281-b951-d872f2087c98
* Declare the bool members next to each other so they canwtc@google.com2008-09-111-3/+3
| | | | | | | | | | | be packed. Fix indentation. R=eroman Review URL: http://codereview.chromium.org/1926 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2064 0039d316-1c4b-4281-b951-d872f2087c98
* Address some issues I found in chunked decoder:ericroman@google.com2008-08-141-1/+9
| | | | | | | | | | | | (1) stricter parsing of chunk-size (don't allow leading/trailing whitespace, redundant "+" sign, leading "0x") (2) check for negative chunk sizes, and fail early rather than hitting weird stuff (3) don't mutate the const char* returned by std::string::data() (4) fail if CRLF terminator is missing on chunk-data. (why the spec has this in first place seems unecessary, since the chunk-size already tells the story...) (5) don't allow empty CRLFs git-svn-id: svn://svn.chromium.org/chrome/trunk/src@853 0039d316-1c4b-4281-b951-d872f2087c98
* Add net to the repository.initial.commit2008-07-261-0/+107
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14 0039d316-1c4b-4281-b951-d872f2087c98