summaryrefslogtreecommitdiffstats
path: root/net
Commit message (Collapse)AuthorAgeFilesLines
* Add SDCH histogram to help detected delayed acksjar@chromium.org2009-04-241-0/+16
| | | | | | | | | | | | SDCH might compress so well, that the return of the ack may come late, and a server may stall on a congestion window limitation. This set of histograms is intended to track that issue during SDCH experimentation. r=huanr Review URL: http://codereview.chromium.org/92139 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14468 0039d316-1c4b-4281-b951-d872f2087c98
* Implement HttpResponseHeaders::GetContentRange and unittestshclam@chromium.org2009-04-223-3/+295
| | | | | | | | | Parse "Content-Range" header in HttpResponseHeaders according to RFC 2616 14.16. Review URL: http://codereview.chromium.org/88068 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14238 0039d316-1c4b-4281-b951-d872f2087c98
* Disk cache: Set up a new experiment on the dev channel.rvargas@google.com2009-04-223-10/+85
| | | | | | | | | Enable the new eviction algorithm for 10% of the current users on the dev channel. Review URL: http://codereview.chromium.org/79064 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14229 0039d316-1c4b-4281-b951-d872f2087c98
* Add -DCHROME_V8 to the chrome/browser build.sgk@google.com2009-04-221-1/+5
| | | | | | | | Add a 'javascript_engine' variable to control that setting (as well as whether we use v8.gyp at all). Review URL: http://codereview.chromium.org/88070 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14171 0039d316-1c4b-4281-b951-d872f2087c98
* Build on Linux with shared libraries (significant chunks courtesy craigsch):sgk@google.com2009-04-221-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Set $RPATH to $LIB_DIR in the SCons configuration. * Add missing dependencies: * net/net.gyp:net => testing/gtest.gyp:gtest * third_party/libxml/libxml.gyp:xmlcatalog => third_party/icu38/icu38.gyp:icuuc * chrome/chrome.gyp:perf_tests => renderer => views => webkit/webkit.gyp:glue * Add files: * third_party/WebKit/WebCore/loader/icon/IconRecord.cpp * third_party/WebKit/WebCore/page/Coordinates.cpp * skia/sgl/SkUnPreMultiply.cpp * Exclude on Linux: * chrome/views/controls/scroll_view.cc * chrome/views/focus/external_focus_tracker.cc * media/filter/ffmpeg_demuxer.{cc,h} * Remove files: * third_party/WebKit/WebCore/Configurations/Version.xcconfig * Sort the chrome.gyp:views linux exclusion list. * DEPS roll for $SHLINKFLAGS settings in gyp. Review URL: http://codereview.chromium.org/88058 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14166 0039d316-1c4b-4281-b951-d872f2087c98
* Stop using deprecated file_util::Trim* functions.thestig@chromium.org2009-04-211-4/+5
| | | | | | Review URL: http://codereview.chromium.org/79053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14121 0039d316-1c4b-4281-b951-d872f2087c98
* Log the "Proxy-Support: Session-Based-Authentication"wtc@chromium.org2009-04-212-29/+68
| | | | | | | | | | | | response header. Log an INFO message whenever we receive an auth challenge. R=eroman BUG=8771 Review URL: http://codereview.chromium.org/67117 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14108 0039d316-1c4b-4281-b951-d872f2087c98
* Add a unit test for recycling a keep-alive connection socketwtc@chromium.org2009-04-211-0/+59
| | | | | | | | | | in the normal case, with a non-zero-length response body. R=eroman BUG=9880 Review URL: http://codereview.chromium.org/67129 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14082 0039d316-1c4b-4281-b951-d872f2087c98
* Add histogram for connection times for new connectionsjar@chromium.org2009-04-211-0/+8
| | | | | | | | | | | | The existing histogram appears ot have too much "noise" introduced by including existing connections. The goal is to quantify impact of DNS prefetching via an experiment, and this should produce more focused info for that FieldTrial. r=willchan Review URL: http://codereview.chromium.org/90005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14073 0039d316-1c4b-4281-b951-d872f2087c98
* Allows a proxy bypass entry to match on a specific port, used by thesdoyon@chromium.org2009-04-203-53/+188
| | | | | | | | | | linux ProxyConfigService. BUG=8143 Review URL: http://codereview.chromium.org/73038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14044 0039d316-1c4b-4281-b951-d872f2087c98
* Correct SDCH enforcement of PathMatch for dictionariesjar@chromium.org2009-04-203-2/+43
| | | | | | | r=openvcdiff Review URL: http://codereview.chromium.org/67286 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14041 0039d316-1c4b-4281-b951-d872f2087c98
* Add a FieldTrial and histograms for measuring impact of http prioritization.willchan@chromium.org2009-04-201-2/+26
| | | | | | | | | Currently this FieldTrial is measuring the transaction latencies of requests, separated into frame/subframe requests vs subresource requests. We run a 2% holdback experiment where the people in the holdback don't have http prioritization enabled. Add class static method to ResourceDispatcherHost to disable http prioritization. BUG=10486 Review URL: http://codereview.chromium.org/67119 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14040 0039d316-1c4b-4281-b951-d872f2087c98
* Implement full duplex tcp sockets on Windows.willchan@chromium.org2009-04-207-322/+512
| | | | | | | This is a revert of r13987. There is a 3 line fix in Write() with s/read_watcher_/write_watcher_/, s/read_callback_/write_callback_/ etc. Review URL: http://codereview.chromium.org/79076 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14039 0039d316-1c4b-4281-b951-d872f2087c98
* ProxyConfigService for Linux.sdoyon@chromium.org2009-04-2011-52/+1522
| | | | | | | | | | | | | | | Establishes a ProxyConfig by reading settings from gconf or consulting environment variables. BUG=8143 Thanks to ermilov.maxim@gmail.com for his contribution: some ideas< and code snippets from his patch were folded into this one. (See http://codereview.chromium.org/49009) Review URL: http://codereview.chromium.org/60009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14034 0039d316-1c4b-4281-b951-d872f2087c98
* Add assertion to help clarify code.jar@chromium.org2009-04-181-0/+2
| | | | | | | | | | Comment came back after landing a related CL earlier. This is the assert, and teh comment per reviewer request. r=openvcdiff Review URL: http://codereview.chromium.org/79063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13994 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 13983.willchan@chromium.org2009-04-177-510/+320
| | | | | | Review URL: http://codereview.chromium.org/79066 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13987 0039d316-1c4b-4281-b951-d872f2087c98
* Add tcp connection time histograms.willchan@chromium.org2009-04-172-0/+20
| | | | | | Review URL: http://codereview.chromium.org/77036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13985 0039d316-1c4b-4281-b951-d872f2087c98
* Implement full duplex mode for windows tcp sockets.willchan@chromium.org2009-04-177-320/+510
| | | | | | | | | | Move tcp_client_socket.h stuff to tcp_client_socket_libevent.h and tcp_client_socket_win.h. Add tests. Review URL: http://codereview.chromium.org/75030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13983 0039d316-1c4b-4281-b951-d872f2087c98
* Do a better job of counting SDCH packetsjar@chromium.org2009-04-172-24/+48
| | | | | | | | | | Some servers are splitting packets in SDCH responses, and we need to be more careful about gathering counts with underfilled packets. r=huanr,openvcdiff Review URL: http://codereview.chromium.org/67254 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13971 0039d316-1c4b-4281-b951-d872f2087c98
* Update Purify and Valgrind data to ignore a few new tests.rvargas@google.com2009-04-172-0/+10
| | | | | | | | | | | cl 13909 added more tests that intentionally leak memory. see http://codereview.chromium.org/79031 TBR=nsylvain Review URL: http://codereview.chromium.org/77010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13913 0039d316-1c4b-4281-b951-d872f2087c98
* Disk cache: Modify the unit tests so that they test bothrvargas@google.com2009-04-179-150/+397
| | | | | | | | eviction algorithms without having to recompile the code. Review URL: http://codereview.chromium.org/79031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13909 0039d316-1c4b-4281-b951-d872f2087c98
* URLRequest::Interceptor enhancements1) Allow an interceptor to change its ↵michaeln@google.com2009-04-169-74/+786
| | | | | | | | mind and not intercept after all. This allows the decision to start or not to start to be made asynchronously.2) Allow an interceptor to intercept on error conditions if the original job fails. This is to support the FALLBACK semantics in the appcache.Info about where this is going can be found in the appcache design doc at https://docs.google.com/a/google.com/Doc?docid=agv6ghfsqr_15f749cgt3&hl=enI still have to put together test cases, so I'm not ready to submit this yet, but wanted to get some feedback at this point. Review URL: http://codereview.chromium.org/67019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13877 0039d316-1c4b-4281-b951-d872f2087c98
* s/delete/delete[]/thestig@chromium.org2009-04-151-1/+1
| | | | | | Review URL: http://codereview.chromium.org/67174 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13759 0039d316-1c4b-4281-b951-d872f2087c98
* Fix strict aliasing warning in disk_cache_perftest.thestig@chromium.org2009-04-141-4/+2
| | | | | | Review URL: http://codereview.chromium.org/67144 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13717 0039d316-1c4b-4281-b951-d872f2087c98
* Delete more unused functions in nss_memio.c.thestig@chromium.org2009-04-141-32/+0
| | | | | | Review URL: http://codereview.chromium.org/67142 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13702 0039d316-1c4b-4281-b951-d872f2087c98
* Disk cache: Enable the code that sets the max size automatically.rvargas@google.com2009-04-143-10/+69
| | | | | | | | (still limiting the ceiling). Review URL: http://codereview.chromium.org/68007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13684 0039d316-1c4b-4281-b951-d872f2087c98
* Assert that the WinSock DLL supports version 2.2.wtc@chromium.org2009-04-141-9/+14
| | | | | | | R=cpu Review URL: http://codereview.chromium.org/67111 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13672 0039d316-1c4b-4281-b951-d872f2087c98
* Update to version 26 of open-vcdiff (underpinnings for SDCH decoder)jar@chromium.org2009-04-141-0/+1
| | | | | | | | | | | | | This supports a restricted memory model, that does not require the current section (window) of expanded data (from an SDCH decompression) to remain memory resident (for future reference). Also added the change to tell vcdiff that Chrome only supports the more memory effecient mode. r=openvcdiff Review URL: http://codereview.chromium.org/66070 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13641 0039d316-1c4b-4281-b951-d872f2087c98
* Histogram time from request till first byte of header is receivedjar@chromium.org2009-04-132-7/+22
| | | | | | | | | Use this as part of the DNS testing trials. r=wtc Review URL: http://codereview.chromium.org/67083 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13634 0039d316-1c4b-4281-b951-d872f2087c98
* Delete unused functions in nss_memio.c.willchan@chromium.org2009-04-131-30/+0
| | | | | | | | | /usr/local/google/chromium3/src/net/base/nss_memio.c:142: warning: 'memio_buffer_empty' defined but not used /usr/local/google/chromium3/src/net/base/nss_memio.c:148: warning: 'memio_buffer_full' defined but not used Review URL: http://codereview.chromium.org/67098 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13626 0039d316-1c4b-4281-b951-d872f2087c98
* Add some LOG(INFO) to help diagnose problems when proxy is not working.ericroman@google.com2009-04-134-3/+108
| | | | | | | | | - Dump the proxy configuration to LOG(INFO) each time it changes - Log each attempt at downloading a PAC script. Review URL: http://codereview.chromium.org/67053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13601 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the "Proxy-Support: Session-Based-Authentication"wtc@chromium.org2009-04-101-12/+6
| | | | | | | | | | | response headers from the NTLMAuth1 and NTLMAuth2 tests because they were inserted by Fiddler 2 (acting as a proxy) rather than from the server. R=eroman Review URL: http://codereview.chromium.org/67057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13547 0039d316-1c4b-4281-b951-d872f2087c98
* Give the filter setup more context so it can figure out whether it's ↵thestig@chromium.org2009-04-107-9/+88
| | | | | | | | | downloading a file or not. Only refuse to gunzip svgz files on download, so we can send an uncompressed svgz file to webkit. BUG=9737 Review URL: http://codereview.chromium.org/62111 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13536 0039d316-1c4b-4281-b951-d872f2087c98
* Disk cache: Finish the current experiment.rvargas@google.com2009-04-103-52/+24
| | | | | | Review URL: http://codereview.chromium.org/67046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13535 0039d316-1c4b-4281-b951-d872f2087c98
* Add a boolean data member reading_body_from_socket_ to helpwtc@chromium.org2009-04-103-3/+90
| | | | | | | | | | | | | | | | DoReadBodyComplete() determine whether a result of 0 actually comes from a socket read, indicating EOF. In unit tests, need to call RunAllPending() before calling idle_socket_count() to get an accurate idle socket count because idle sockets are added to the connection pool with a PostTask. R=eroman BUG=9880 Review URL: http://codereview.chromium.org/63139 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13511 0039d316-1c4b-4281-b951-d872f2087c98
* Scrape search definitions from forms that have onsubmit handlers. The ↵ben@chromium.org2009-04-105-15/+38
| | | | | | | | | | | | | | | | scraping is done after submit events are handled by the page DOM so doing this is safe. Adds test infrastructure for determining that scraping occurs on submit: - allow testserver to be configured to serve pages from / on the server - provide a ui test util that navigates and waits for N subsequent redirections/navigations before returning control to the test to handle automated submission Eric, please review the test server changes. Scott, please look over everything else. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=13444 Review URL: http://codereview.chromium.org/62145 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13491 0039d316-1c4b-4281-b951-d872f2087c98
* revert until I can figure out why the tests are hangingben@chromium.org2009-04-095-38/+15
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13448 0039d316-1c4b-4281-b951-d872f2087c98
* Scrape search definitions from forms that have onsubmit handlers. The ↵ben@chromium.org2009-04-095-15/+38
| | | | | | | | | | | | | | scraping is done after submit events are handled by the page DOM so doing this is safe. Adds test infrastructure for determining that scraping occurs on submit: - allow testserver to be configured to serve pages from / on the server - provide a ui test util that navigates and waits for N subsequent redirections/navigations before returning control to the test to handle automated submission Eric, please review the test server changes. Scott, please look over everything else. Review URL: http://codereview.chromium.org/62145 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13444 0039d316-1c4b-4281-b951-d872f2087c98
* Disk cache: fix broken UMA reports.rvargas@google.com2009-04-093-2/+11
| | | | | | Review URL: http://codereview.chromium.org/62176 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13431 0039d316-1c4b-4281-b951-d872f2087c98
* Basic underpinnings of the gyp equivalent of the Linux SHARED=1 build:sgk@google.com2009-04-081-2/+2
| | | | | | | | | parameterize the 'type' setting of the various library targets, with a default of 'static_library'. (Hat tip to Craig Schlenter.) Review URL: http://codereview.chromium.org/62127 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13345 0039d316-1c4b-4281-b951-d872f2087c98
* DNS prefetch experiment extension: Consider different connection count limitsjar@chromium.org2009-04-083-6/+31
| | | | | | | | | | | | This CL both enables selection of a run-time selected limit on the number of connections to a single host, and varies that limit to see how it relates to DNS prefetch latency in connections. r=wtc Review URL: http://codereview.chromium.org/62083 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13339 0039d316-1c4b-4281-b951-d872f2087c98
* Switching things to FilePath:phajdan.jr@chromium.org2009-04-079-92/+80
| | | | | | | | | | | | | | | | Remove following deprecated wstring-using functions: net/net_util: FilePathToFileURL net/net_util: FileURLToFilePath Switch net/base/upload_data to FilePath. Switch upload-related parts of net/url_request/url_request to FilePath. Made necessary adjustments in rest of code (a lot). Review URL: http://codereview.chromium.org/63011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13242 0039d316-1c4b-4281-b951-d872f2087c98
* - Add support for platform specific suppression files for Valgrindnirnimesh@chromium.org2009-04-061-0/+1
| | | | | | | | | - Suppress setenv() leak, coz it's intentional - Get rid of unncessary default parameter (".") with --suppressions Review URL: http://codereview.chromium.org/57069 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13170 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the now-superfluous STATE_CONNECT and STATE_CONNECT_COMPLETED from ↵markus@chromium.org2009-04-036-262/+180
| | | | | | | | | | | | | | | | SSLClientSocketWin and SSLClientSocketMac. Collapse the DoConnect() and DoConnectComplete() functions into the Connect() function. Make SSLClientSocketWin accept known-bad certificates that are listed in the ssl_config_. This code path is not normally exercised on Windows, but it mirrors what Linux does when the user accepts a bad certificate. SSLClientSocketMac still cannot support ContinueDespiteLastError(). From looking at the Mac SSL API, it looks as if we have to explicitly disable checking of certificates and then do our own verification the same way that Windows does. Ultimately, Linux should do this, too. It avoid having to open a new socket each time we encounter a known-bad certificate. Review URL: http://codereview.chromium.org/60023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13105 0039d316-1c4b-4281-b951-d872f2087c98
* Fix for bug 9608. adding check that tokenized header is valid.ace@google.com2009-04-022-1/+12
| | | | | | Review URL: http://codereview.chromium.org/60008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13050 0039d316-1c4b-4281-b951-d872f2087c98
* Add nhs.uk as a single-authority zone.agl@chromium.org2009-04-022-1/+4
| | | | | | | | | | | | (Requested by David Hinkinson-Hodnett of NHS Choices). This also mirrors the current Mozilla exceptions list: http://mxr.mozilla.org/mozilla/source/netwerk/dns/src/effective_tld_names.dat?raw=1 http://codereview.chromium.org/56187 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13048 0039d316-1c4b-4281-b951-d872f2087c98
* Add GYP file tld_cleanup tool.agl@chromium.org2009-04-021-0/+25
| | | | | | | http://codereview.chromium.org/58010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13047 0039d316-1c4b-4281-b951-d872f2087c98
* Fix an innocuous dcheck when going to view-cache.rvargas@google.com2009-04-021-3/+5
| | | | | | | | | Don't initialize an IOBUffer if the needed size is zero. Review URL: http://codereview.chromium.org/60054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13030 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the checked-in scons configuration files.sgk@google.com2009-04-0112-1286/+0
| | | | | | Review URL: http://codereview.chromium.org/53121 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12982 0039d316-1c4b-4281-b951-d872f2087c98
* Resubmitted code from revision 12809. The bug in the Windows SSL stack thatmarkus@chromium.org2009-03-3119-177/+643
| | | | | | | this code originally uncovered has been fixed in a separate changelist. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12876 0039d316-1c4b-4281-b951-d872f2087c98