Make the requests from the local proxy to the remote proxy asynchronous. This
means, the remote proxy will answer immediately after checking if the request
is valid, with 200 OK. The remote proxy will then download the page and after
that make an own HTTP POST request to the local proxy that issued the original
request, "uploading" the page as POST data.
If both proxies retry, until they get a HTTP response (the local proxy only if
the status is not offline, and the remote proxy only a couple of times and/or
in bigger intervals), this ensures that the pages reach the local proxy even
with short network outages.
This solution would need a listener for responses from the remote proxy at the
local side and some kind of management for the requests/responses at the remote
side so that the HTTP POST requests can be made, and also to the correct local
proxy.
Original issue reported on code.google.com by satiaher...@gmx.de on 24 Sep 2013 at 7:44
Original issue reported on code.google.com by
satiaher...@gmx.de
on 24 Sep 2013 at 7:44