diff options
author | Tobias Thierer <tobiast@google.com> | 2016-11-17 18:12:19 +0000 |
---|---|---|
committer | Tobias Thierer <tobiast@google.com> | 2016-11-18 15:13:32 +0000 |
commit | 6d6d62884291d2f45dba1e33e4d63a0567668e07 (patch) | |
tree | 3f27a0bd8404bd173aa9b2801260a0e072ddaa18 /annotations/generate_annotated_java_files.py | |
parent | 1f9933397eb3374355bc3e4c6c041a949d40050a (diff) |
HttpURLConnection: Don't claim that connection pooling is configurable.
HttpURLConnection's documentation claimed that connection pooling
can be configured by setting system properties http.keepAlive and
http.maxConnections.
This is not currently supported on Android because
ConfigAwareConnectionPool.<clinit> reads these system properties
only once, before an application has a chance to change them.
Therefore this CL removes the incorrect documentation. Potentially
a follow-up CL could add this feature to Android and reintroduce
the documentation.
Test: Verified in the source code that these system properties
are still read during ConfigAwareConnectionPool.<clinit>
rather than each time a HttpUrlConnection is constructed.
I haven't empirically verified the observed behavior from
b/22444627.
Bug: 22444627
Bug: 28808791
Change-Id: Ifc1e2bc167d0b87da01f31cd2bad23aba454037b
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions