commit | 27c744cc67c7b155bd2d47551205fb1720e7e196 | [log] [tgz] |
---|---|---|
author | Jesse Wilson <jessewilson@google.com> | Tue Dec 20 12:38:53 2011 -0500 |
committer | Jesse Wilson <jessewilson@google.com> | Tue Dec 20 12:47:16 2011 -0500 |
tree | 4da961dc6809125f500d875d6bb942700a082ab2 | |
parent | abe4e615f473b387b1c00a738062a7c428f05a33 [diff] |
Support in-memory HTTPS session caching for wrapped sockets. Previously we couldn't reuse sessions with HttpsURLConnection because the host was incorrect (getInetAddress returns null for wrapped sockets) and because the compression method was different (NULL vs. ZLIB). This improves HttpsURLConnection request/response time on localhost from ~275ms to ~145ms (without connection pooling). Change-Id: I97bc343326658690b00589c0c804c2378b91ae61