summaryrefslogtreecommitdiffstats
path: root/luni/src/test/java/tests/security/SecureRandomTest.java
diff options
context:
space:
mode:
authorBrian Carlstrom <bdc@google.com>2010-11-15 18:15:32 -0800
committerBrian Carlstrom <bdc@google.com>2010-11-16 17:08:39 -0800
commitdbc42ad94ce37b3178e14b50496914c267d6cea6 (patch)
tree1f4452cdcf9057251408612e66bd864ce7612f20 /luni/src/test/java/tests/security/SecureRandomTest.java
parent5bcbe1c84468a25fec1e5b4e1dd636f917c73422 (diff)
downloadlibcore-dbc42ad94ce37b3178e14b50496914c267d6cea6.zip
libcore-dbc42ad94ce37b3178e14b50496914c267d6cea6.tar.gz
libcore-dbc42ad94ce37b3178e14b50496914c267d6cea6.tar.bz2
HttpsURLConnection fixes to pass URLConnectionTest and HttpsURLConnectionTest
Add public getSecureSocket so that HttpsURLConnection can reset its sslSocket field on reused connections. luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/http/HttpConnection.java discardIntermediateResponse now maintain old values for intermediateReponse, which is necessary when retrying the CONNECT method with proxy authorization. luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/http/HttpURLConnectionImpl.java Clear sslSocket before retrying makeSslConnection to ensure we reconnect. makeSslConnection now resets sslSocket on resumed connection. makeSslConnection now exits early on existing connection. luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/https/HttpsURLConnectionImpl.java git cherry-pick -e 4df5be29bdffc09e7368c03423a0bef85fa26ac5 Bug: 3184701 Change-Id: Ida3c027f79e5e29968263ac761d4f4f79d063a27
Diffstat (limited to 'luni/src/test/java/tests/security/SecureRandomTest.java')
0 files changed, 0 insertions, 0 deletions