summaryrefslogtreecommitdiffstats
path: root/net
Commit message (Collapse)AuthorAgeFilesLines
* Back out r1154 due to test failuresmmentovai@google.com2008-08-218-195/+158
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1156 0039d316-1c4b-4281-b951-d872f2087c98
* Port cookie_monster, net_util, and registry_controlled_domain to POSIXish ↵mmentovai@google.com2008-08-218-158/+195
| | | | | | platforms git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1154 0039d316-1c4b-4281-b951-d872f2087c98
* Fix WaitForPendingIO to actually exit the wait at some point.rvargas@google.com2008-08-214-6/+6
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1143 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the linux build again. http_response_headers.cc hastc@google.com2008-08-211-2/+2
| | | | | | | | | size_t i = -1 which doesn't compile on gcc 4.0.3. TBR=erg git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1136 0039d316-1c4b-4281-b951-d872f2087c98
* Make the disk cache unit tests use some common code from the disk cache.rvargas@google.com2008-08-211-10/+11
| | | | | | | | In particular, this removes the last piece of code on the disk cache that uses SHFileOperation. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1135 0039d316-1c4b-4281-b951-d872f2087c98
* Fix net build on linux by moving http_vary_data to the win only section ↵tc@google.com2008-08-211-2/+2
| | | | | | | | | until we port it. TBR=evanm@google.com git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1134 0039d316-1c4b-4281-b951-d872f2087c98
* Final character conversions for net_util.paulg@google.com2008-08-201-4/+17
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1132 0039d316-1c4b-4281-b951-d872f2087c98
* M net/base/cookie_monster.hawalker@google.com2008-08-201-2/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1131 0039d316-1c4b-4281-b951-d872f2087c98
* Fix some more warnings.evanm@google.com2008-08-201-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1130 0039d316-1c4b-4281-b951-d872f2087c98
* Fix some more warnings.evanm@google.com2008-08-202-2/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1127 0039d316-1c4b-4281-b951-d872f2087c98
* More of net compiling on the Mac.avi@google.com2008-08-205-48/+63
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1125 0039d316-1c4b-4281-b951-d872f2087c98
* Fix some character conversions and Mac compile errors for net_util.cc.paulg@google.com2008-08-202-18/+39
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1112 0039d316-1c4b-4281-b951-d872f2087c98
* Use the right mode in HttpCache::Transaction::RequiresValidationmmentovai@google.com2008-08-201-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1107 0039d316-1c4b-4281-b951-d872f2087c98
* Quick fix; it's a struct not a class.avi@google.com2008-08-201-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1104 0039d316-1c4b-4281-b951-d872f2087c98
* Build more files with sconsavi@google.com2008-08-201-3/+3
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1102 0039d316-1c4b-4281-b951-d872f2087c98
* Fixing extended verification code for non-windowsavi@google.com2008-08-203-2/+4
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1101 0039d316-1c4b-4281-b951-d872f2087c98
* Add MimeSnifferTest to net_unittests. Take message_pump_default.cc out ofmmentovai@google.com2008-08-201-0/+2
| | | | | | base_unittests, because it's already part of base. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1096 0039d316-1c4b-4281-b951-d872f2087c98
* We should reset content_length_remaining_ (to -1) when wewtc@google.com2008-08-201-0/+3
| | | | | | | | | | | | | restart a transaction. Otherwise, the stale value of content_length_remaining_ may be incorrectly applied to the response to the restarted request. I also reset upload_progress_ just to be safe. R=darin BUG=1314424 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1093 0039d316-1c4b-4281-b951-d872f2087c98
* Make mime sniffer compile for Mac.avi@google.com2008-08-202-6/+7
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1092 0039d316-1c4b-4281-b951-d872f2087c98
* Portability changes to http_response_headers.ericroman@google.com2008-08-202-10/+48
| | | | | | | | | | | | | | | | | | | | | | | | The parsing changes will also behave differently for these cases (added as unit-tests): "Content-Length: +10\n" Before: 10 After: -1 "Content-Length: 40000000000000000000\n" Before: 9223372036854775807 After: -1 "Content-Length: \v10\n" Before: 10 After: -1 "Content-Length: \f10\n" Before: 10 After: -1 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1083 0039d316-1c4b-4281-b951-d872f2087c98
* Run a couple more tests in net, and get rid of a couple more warningsmmentovai@google.com2008-08-203-3/+13
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1076 0039d316-1c4b-4281-b951-d872f2087c98
* Add more files to the net module compile list. Had to make some small ↵tc@google.com2008-08-203-53/+66
| | | | | | changes to how static struct arrays were declared so arraysize() would work with gcc. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1074 0039d316-1c4b-4281-b951-d872f2087c98
* Update the list of files that should compile.rvargas@google.com2008-08-191-18/+16
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1073 0039d316-1c4b-4281-b951-d872f2087c98
* add http_cache to mac build.ericroman@google.com2008-08-196-30/+38
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1068 0039d316-1c4b-4281-b951-d872f2087c98
* Remove warnings for the net module.rvargas@google.com2008-08-195-10/+12
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1067 0039d316-1c4b-4281-b951-d872f2087c98
* Move time formatters that only use ICU into base/time.*tc@google.com2008-08-191-22/+4
| | | | | | | | | | | | | This allows us to use the time formatters in, e.g., net or webkit. Remove CookieExpires since it's not used. BUG=1164516 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1063 0039d316-1c4b-4281-b951-d872f2087c98
* Fix up warnings in net/avi@google.com2008-08-198-9/+13
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1048 0039d316-1c4b-4281-b951-d872f2087c98
* Add mime_util and http_chunked_decoder to mac project.ericroman@google.com2008-08-193-3/+9
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1041 0039d316-1c4b-4281-b951-d872f2087c98
* Build the rest of the files that currently work in net. No new tests canmmentovai@google.com2008-08-191-5/+61
| | | | | | be added yet. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1036 0039d316-1c4b-4281-b951-d872f2087c98
* Update a few forgotten users of the Sys StringPiece conversion functions to ↵deanm@google.com2008-08-192-1/+3
| | | | | | include string_piece.h git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1028 0039d316-1c4b-4281-b951-d872f2087c98
* Use LF for newlines in all DEPS filesmmentovai@google.com2008-08-181-3/+3
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1011 0039d316-1c4b-4281-b951-d872f2087c98
* Pass more tests in net.mmentovai@google.com2008-08-181-2/+107
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1007 0039d316-1c4b-4281-b951-d872f2087c98
* change error valueericroman@google.com2008-08-183-9/+9
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1005 0039d316-1c4b-4281-b951-d872f2087c98
* Merge some changes from branches/mac_july_2008 to trunk.ericroman@google.com2008-08-184-1/+36
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1002 0039d316-1c4b-4281-b951-d872f2087c98
* Build and run bzip2 and gzip filter tests in net. Brings net, bzip2, and zlibmmentovai@google.com2008-08-181-384/+854
| | | | | | project files into the new xcconfig-based setup. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1001 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a net\SConscript typo. (Note to self: check in from thesgk@google.com2008-08-181-1/+1
| | | | | | | directory where you actually did the build.) TBR: tc git-svn-id: svn://svn.chromium.org/chrome/trunk/src@996 0039d316-1c4b-4281-b951-d872f2087c98
* Have the "net" build install icudt38l.dat on non-Windows systems.sgk@google.com2008-08-181-1/+5
| | | | | | TBR: tc git-svn-id: svn://svn.chromium.org/chrome/trunk/src@994 0039d316-1c4b-4281-b951-d872f2087c98
* Make some net unittests compile and pass on linux.tc@google.com2008-08-183-23/+21
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@991 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the scons build (file name change).tc@google.com2008-08-151-2/+4
| | | | | | TBR=rvargas git-svn-id: svn://svn.chromium.org/chrome/trunk/src@962 0039d316-1c4b-4281-b951-d872f2087c98
* -Add error code for chunked encodingericroman@google.com2008-08-153-7/+117
| | | | | | | | | | -Add unit test for chunk-size > 2GB -Allow trailing space (0x20) -Document how other browsers parse the chunk-size BUG=1326627 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@961 0039d316-1c4b-4281-b951-d872f2087c98
* Second pass move the os dependent code apart on the disk cache.rvargas@google.com2008-08-1513-40/+267
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@960 0039d316-1c4b-4281-b951-d872f2087c98
* Large patch set (159 files total) to cleanup the includes.maruel@google.com2008-08-157-34/+53
| | | | | | | | | | - Slightly reduce the size of the generated .lib files ~3%. - Reduce the number of implicit and explicit atl and windows includes. hooray! - Help incremental build by reducing the number of unnecessary included files. - Split some template class in two, one base class for the common code and the specialization that inherits from the base class. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@937 0039d316-1c4b-4281-b951-d872f2087c98
* Introduce MessagePump to represent the native message pump used to drive adarin@google.com2008-08-152-10/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MessageLoop. A MessageLoop now has a MessagePump. This will make it possible to port the MessagePump interface to other platforms as well as to use an IO completion port for our worker threads on Windows. Currently, there is only MessagePumpWin, which attempts to preserve the pre-existing behavior of the MessageLoop. API changes to MessageLoop: 1. MessageLoop::Quit means return from Run when the MessageLoop would otherwise wait for more work. 2. MessageLoop::Quit can no longer be called outside the context of an active Run call. So, things like this: MessageLoop::current()->Quit(); MessageLoop::current()->Run(); are now: MessageLoop::current()->RunAllPending(); 3. MessageLoop::Quit can no longer be called from other threads. This means that PostTask(..., new MessageLoop::QuitTask()) must be used explicitly to Quit across thread boundaries. 4. No protection is made to deal with nested MessageLoops involving watched objects or APCs. In fact, an assertion is added to flag such cases. This is a temporary measure until object watching and APC facilities are removed in favor of a MessagePump designed around an IO completion port. As part of this CL, I also changed the automation system to use an IPC::ChannelProxy instead of an IPC::Channel. This moves the automation IPC onto Chrome's IO thread where it belongs. I also fixed some abuses of RefCounted in the AutomationProvider class. It was deleting itself in some cases! This led to having to fix the ownership model for AutomationProvider, which explains the changes to AutomationProviderList and so on. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@928 0039d316-1c4b-4281-b951-d872f2087c98
* Get googleurl and net to build on linux so we can parallelize even more. ↵tc@google.com2008-08-152-178/+192
| | | | | | This builds an empty net_unittests. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@915 0039d316-1c4b-4281-b951-d872f2087c98
* Modify the binary bz2 to have LF and force google.txt totc@google.com2008-08-142-1/+19
| | | | | | | | | | have LF because I can't seem to get svn to check in the right version with CR. TBR=evanm git-svn-id: svn://svn.chromium.org/chrome/trunk/src@914 0039d316-1c4b-4281-b951-d872f2087c98
* Now force it back to CR for everyone.tc@google.com2008-08-141-19/+1
| | | | | | | TBR=evanm git-svn-id: svn://svn.chromium.org/chrome/trunk/src@913 0039d316-1c4b-4281-b951-d872f2087c98
* Force the eol style to LF so we always get the CR character.tc@google.com2008-08-141-1/+19
| | | | | | | TBR=evanm git-svn-id: svn://svn.chromium.org/chrome/trunk/src@912 0039d316-1c4b-4281-b951-d872f2087c98
* Force the line ending on this test data file to be CR. Thetc@google.com2008-08-141-19/+1
| | | | | | | | test for this compares this file to a bzip2'ed copy of the file. The bzip2'ed copy is based on there being a CR so force this to be the case on linux as well. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@910 0039d316-1c4b-4281-b951-d872f2087c98
* Update the comment for OnObjectSignaled.wtc@google.com2008-08-142-7/+21
| | | | | | | | | | | | The event object for the completion of overlapped I/O is also set when WSARecv or WSASend returns 0, so we need to reset the event object in that case. Add temporary debugging code to assert that the event object is in the expected state before and after WSARecv and WSASend calls. R=darin git-svn-id: svn://svn.chromium.org/chrome/trunk/src@906 0039d316-1c4b-4281-b951-d872f2087c98
* Don't assert stream_sizes_.cbBlockSize == 1. It fails withwtc@google.com2008-08-141-3/+0
| | | | | | | | some sites, and we don't need cbBlockSize to be 1. TBR=darin git-svn-id: svn://svn.chromium.org/chrome/trunk/src@899 0039d316-1c4b-4281-b951-d872f2087c98