86806ce11a89260147d7c2efa2c192b711d923db |
|
01-Oct-2009 |
Patrick Scott <phanna@android.com> |
Process synchronous requests in the same RequestQueue. Use a dedicated Connection to process a synchronous request using the main RequestQueue and on the WebCore thread. HttpConnection, HttpsConnection, Connection: No need for ConnectionManager, just pass the proxy host to HttpsConnection. In Connection.clearPipe, empty should be set to true if the RequestFeeder does _not_ have a request for the host. I don't think that broke anything but it is incorrect. ConnectionThread: Refactor the proxy selection into ConnectionManager.getConnection RequestHandle: Add a new constructor that takes a Connection argument. Add processRequest to process a single request on that Connection. RequestQueue: Add determine host to select between the request's host and the proxy. Add queueSynchronousRequest to make a new request that operates on a private connection. Add SyncFeeder to handle RequestFeeder.requeueRequest if the request fails. Network: Use the new RequestQueue api to handle a synchronous request. Bug: 1315832
/frameworks/base/core/java/android/net/http/ConnectionThread.java
|
4a06b68c82fc011d8cd780ed7f0393d1d0617a07 |
|
20-Jul-2009 |
Patrick Scott <phanna@android.com> |
Correctly set the thread priority for ConnectionThreads. This does not change the actual thread priority but if the default priority changes, this will have the desired result of being slightly less favorable. I tried messing with the priorities to see if a higher or lower priority helped but it seemed to do more harm than good. It might be worth more investigation to find out where all the thread time is being spent so we can determine the correct priority.
/frameworks/base/core/java/android/net/http/ConnectionThread.java
|
340a1b21de7d5f650b15fab2bcda355ae9776f90 |
|
03-Jul-2009 |
Grace Kloba <klobag@google.com> |
Fix the performance collection in the http thread. A connection can be reused. Change the thread time collection based on per request.
/frameworks/base/core/java/android/net/http/ConnectionThread.java
|
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/net/http/ConnectionThread.java
|
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/net/http/ConnectionThread.java
|
54b6cfa9a9e5b861a9930af873580d6dc20f773c |
|
21-Oct-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Initial Contribution
/frameworks/base/core/java/android/net/http/ConnectionThread.java
|