| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
Based on review comments from https://codereview.chromium.org/337093003/
BUG=
Review URL: https://codereview.chromium.org/361083002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@282275 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This contains fixes for the following sorts of issues:
* Signedness mismatch
* Possibly-uninitialized local variable
This also contains one cleanup change (to remove an extra set of parens).
BUG=81439
TEST=none
R=rch@chromium.org
Review URL: https://codereview.chromium.org/371213002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@281870 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It used to be that the QuicInMemoryCache mapped Balsa request headers to
Balsa responses, initializing the cache by using Balsa to parse
responses out of files in a specified directory. Then,
QuicSpdyServerStream would use Balsa to parse the incoming request
headers to pass of to the QuicInMemoryCache.
Now, instead of BalsaHeaders, I've made the QuicInMemoryCache be keyed by GURL, since it was ignoring all the other parts of the request headers anyway. Thus, QuicSpdyServerStream now constructs GURLs
by converting them from SPDY headers that are parsed out of the request,
and converts the resulting HttpResponseHeaders from the
QuicInMemoryCache into writable SPDY headers by using a new helper
function SpdyHttpUtils::CreateSpdyHeadersFromHttpResponse.
I removed the dependency on Balsa and tested the code by running the
quic_server binary.
R=wtc,rch@chromium.org
BUG=
Review URL: https://codereview.chromium.org/337093003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@280901 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
Also ported quic_server_bin and quic_server_test.
BUG=
Review URL: https://codereview.chromium.org/340433002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@279602 0039d316-1c4b-4281-b951-d872f2087c98
|
|
Ported QuicServer to the Chromium network stack, keeping it in net_unittests for now so that it does not bloat the main build. Some of the changes:
* used QuicConnectionHelper to manage alarms
* used asynchronous callbacks rather than a nonblocking I/O loop
* used UDPServerSocket rather than fds
* pulled in a bunch of dependencies, some of which will have to be removed again.
BUG=
Review URL: https://codereview.chromium.org/322653002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277606 0039d316-1c4b-4281-b951-d872f2087c98
|