History log of /frameworks/base/core/java/android/net/http/RequestQueue.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
eb8be973c7982fe3ece0aeaeca379c3b3cdced0c 12-Oct-2010 Bjorn Bringert <bringert@android.com> Make fields in WebAddress private, add getters/setters

Change-Id: Iceaf3d648289344e53c37273f7324a79676fbef7
f1cac90c7baafa48b47c5d178dd12a75ba89af0b 31-Mar-2010 Robert Greenwalt <robdroid@android.com> Fix HttpProxy.

A key bit of code was lost in change 38/25338/5 (2009/09/17 change
of RequestQueue.java) which caused us to not pick up proxy settings.
Putting it back.

Change-Id: I1e79858f64d8e793a966ef8e6f7a0d3f2a02251f
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.
Refactor the proxy selection into ConnectionManager.getConnection
Add a new constructor that takes a Connection argument. Add processRequest
to process a single request on that Connection.
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
aaebc86386c8bb44c25dd06fe573e52ef6b60fbe 16-Sep-2009 Patrick Scott <phanna@android.com> Remove the network connection logic from RequestQueue.

This doesn't always work right and is causing some problems if the network comes
back up without sending the broadcast.
a16de7b03a1b2fe9e5eca55ce677c121e97079f8 25-Jul-2009 Grace Kloba <klobag@google.com> Fix 1993520 where page cycler fails.

Recover the old logic before removing network management. Remove the empty
list for the host after consuming the last entry. As we should never have
an empty list, it is safe to call removeFirst without checking whether it is

Currently, in getRequest() or removeFrist(), if we found an empty list, we
remove it. Then we return null for the request even there are requests in
another list. So the page stops loading until the next getRequest() or
removeFirst() is called. If they are not called, those requests will never
be accessed.
fe4fec7c66b0d956f008ead0fd899b588cfacb5d 14-Jul-2009 Patrick Scott <phanna@android.com> Remove all our old high priority knowledge since WebCore will manage it.

Also removed an unused variable in RequestQueue.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.
b5b33c734ab2a178f07c667a8c1daf8beab837aa 15-May-2009 Patrick Scott <phanna@android.com> Order high priority requests in the same order they are requested.

Use a class to hold the high priority requests and low priority requests. Each
request is appended to the correct list in the order received. If a request
needs to be requeued after an error, it is placed at the head of the
corresponding list.
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
f013e1afd1e68af5e3b868c26a653bbfb39538f8 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
54b6cfa9a9e5b861a9930af873580d6dc20f773c 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution