summaryrefslogtreecommitdiffstats
path: root/net/socket/ssl_client_socket.cc
Commit message (Collapse)AuthorAgeFilesLines
* Use a direct include of strings headers in net/ocsp/, net/proxy/, net/quic/, ↵avi@chromium.org2013-06-111-1/+1
| | | | | | | | | | | | net/server/, net/socket/, net/spdy/, net/ssl/. BUG=247723 TEST=none TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/16017010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205487 0039d316-1c4b-4281-b951-d872f2087c98
* [SPDY] Incorporate latest framing changes from HTTP2 into SPDY 4 as SPDY 4a2.akalin@chromium.org2013-05-151-4/+4
| | | | | | | | | | | | | | | | Removes support for SPDY 4a1. Remove --enable-spdy4 flag for now (until we get test coverage). This lands server change 45362310. BUG=230124 TBR=jam@chromium.org Review URL: https://chromiumcodereview.appspot.com/14189003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200342 0039d316-1c4b-4281-b951-d872f2087c98
* [SPDY] Add flag and about:flags entry for SPDY/4 alpha 1akalin@chromium.org2013-04-121-0/+4
| | | | | | | | BUG=230124 Review URL: https://codereview.chromium.org/13845012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193832 0039d316-1c4b-4281-b951-d872f2087c98
* [SPDY] Add flag to turn on SPDY/3.1 (with per-session flow control)akalin@chromium.org2013-03-051-0/+4
| | | | | | | | | | | Add SPDY/3.1 info for NPN and Alternate-Protocol. BUG=176592 TBR=jam@chromium.org Review URL: https://codereview.chromium.org/12388099 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186250 0039d316-1c4b-4281-b951-d872f2087c98
* Change SpdySession::GetSSLInfo to get the SSLInfo from the underlying socketrch@chromium.org2012-07-191-4/+4
| | | | | | | | | | | | | | | | even if the session is not "secure". This required refactoring StreamSocket to add WasNpnNegotiated() and GetSSLInfo() methods. This allows for a change to SpdySession::GetSSLInfo to accurately return the correct SSLInfo in the case of SPDY Proxy sessions. BUG=134690 TEST=\*DoNotUseSpdySessionIfCertDoesNotMatch\* Review URL: https://chromiumcodereview.appspot.com/10690122 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147479 0039d316-1c4b-4281-b951-d872f2087c98
* Convert SSLClientSocketNSS to use the NSS Channel ID callback.mattm@chromium.org2012-06-261-10/+5
| | | | | | | | | | BUG=129174,127506 TEST=run a TLS Channel ID supporting server, try connecting to it. TBR=joi@chromium.org Review URL: https://chromiumcodereview.appspot.com/10560020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144093 0039d316-1c4b-4281-b951-d872f2087c98
* Remove SPDY 2.1 support.rch@chromium.org2012-04-091-4/+0
| | | | | | | | | BUG=121919 Review URL: http://codereview.chromium.org/10005041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131383 0039d316-1c4b-4281-b951-d872f2087c98
* Add a new GetNegotiatedProtocol method to StreamSocket and implement in all ↵rch@chromium.org2012-04-031-4/+6
| | | | | | | | | | subclasses. BUG=120890 Review URL: https://chromiumcodereview.appspot.com/9958028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130388 0039d316-1c4b-4281-b951-d872f2087c98
* Move NextProto enum to a new file net/socket/next_proto.hrch@chromium.org2012-03-311-6/+4
| | | | | | | | | BUG=120890 Review URL: http://codereview.chromium.org/9959033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130038 0039d316-1c4b-4281-b951-d872f2087c98
* Change Origin bound certs -> Domain bound certs.mattm@chromium.org2012-03-201-7/+7
| | | | | | | | | | BUG=115348 TEST=unit tests, manually checked 'Origin Bound Certs' contents after browsing TBR=jam@chromium.org,willchan@chromium.org Review URL: https://chromiumcodereview.appspot.com/9617039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127817 0039d316-1c4b-4281-b951-d872f2087c98
* SPDY - integration of spdy/3 code.rtenneti@google.com2012-03-121-0/+4
| | | | | | | | TEST=network unit tests and browser unit_tests R=willchan Review URL: https://chromiumcodereview.appspot.com/9618002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126175 0039d316-1c4b-4281-b951-d872f2087c98
* Adds support for the credentials frame.rch@chromium.org2012-02-081-6/+11
| | | | | | | | | | | | Need to allow spdy sessions to see if the underlying socket is required OBCs. If so, and if pooling a connection, then we need to generate a CREDENTIALS frame for this origin. Need to add support for the RST_FRAME status code of INVALID CREDENTIALS Review URL: http://codereview.chromium.org/9294001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120923 0039d316-1c4b-4281-b951-d872f2087c98
* Initialize protocol_version to Unknown.rtenneti@chromium.org2011-12-201-1/+1
| | | | | | | | | | R=mmenke TEST=network unittests BUG=108134 Review URL: http://codereview.chromium.org/8956042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115196 0039d316-1c4b-4281-b951-d872f2087c98
* Added protocol_version negotiated with the server.rtenneti@google.com2011-12-201-5/+23
| | | | | | | | | | | | | protocol_version will be printed by the LoadTimes extension. R=willchan BUG=108134 TEST=network unittests Review URL: http://codereview.chromium.org/8914005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115145 0039d316-1c4b-4281-b951-d872f2087c98
* SPDY - add support for spdy/2.1 to support flow control.rtenneti@google.com2011-12-101-0/+11
| | | | | | | | | | | | | | | | | | | | 1) Add spdy/2.1 as a supported NPN protocol. 2) Advertise that chrome supports spdy/2.1 when --flow-control (spdy flag) is enabled. 3) When SPDY protocol is negotiated, enable flow_control in spdy_session if spdy/2.1 is negotiated as NPN protocol. BUG=106911 R=willchan TEST=network unit tests and if possible test with SPDY 2.1 server with command line flag --flow-control. This CL is same as the following CL. Implemented changes suggested by willchan in the following review. http://codereview.chromium.org/8890044/ Review URL: http://codereview.chromium.org/8892026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113942 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 113419 - Revert 113409 - Add a new method to SSLClientSocket:rch@chromium.org2011-12-081-1/+10
| | | | | | | | | | | | | was_origin_cert_sent() This will help SpdySession decide to send a CREDENTIAL frame. BUG=106103 TEST=none Review URL: http://codereview.chromium.org/8869004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113528 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 113409 - Add a new method to SSLClientSocket:rch@chromium.org2011-12-071-10/+1
| | | | | | | | | | | | | | | | was_origin_cert_sent() This will help SpdySession decide to send a CREDENTIAL frame. BUG=106103 TEST=none Review URL: http://codereview.chromium.org/8817021 TBR=rch@chromium.org Review URL: http://codereview.chromium.org/8850003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113419 0039d316-1c4b-4281-b951-d872f2087c98
* Add a new method to SSLClientSocket:rch@chromium.org2011-12-071-1/+10
| | | | | | | | | | | | | was_origin_cert_sent() This will help SpdySession decide to send a CREDENTIAL frame. BUG=106103 TEST=none Review URL: http://codereview.chromium.org/8817021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113409 0039d316-1c4b-4281-b951-d872f2087c98
* Log server advertised protos and the selectedrtenneti@google.com2011-12-051-1/+32
| | | | | | | | | | | | | | | | | | | | | | | next_proto to net-internals log. In net internal logs, we will log proto in the following manner: (P) t=1323112212350 [st=463] HTTP_STREAM_REQUEST_PROTO --> next_proto_status = "negotiated" --> proto = "spdy/2" --> server_protos = "spdy/2,http/1.1" BUG=62064 TEST=network unit tests R=willchan The following was the original CL: http://codereview.chromium.org/8676046/ Review URL: http://codereview.chromium.org/8787011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113052 0039d316-1c4b-4281-b951-d872f2087c98
* Start deinlining non-empty virtual methods. (This will be automatically checkederg@google.com2010-12-091-0/+62
for in the future.) BUG=none TEST=compiles Review URL: http://codereview.chromium.org/5574006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68746 0039d316-1c4b-4281-b951-d872f2087c98