Hi,

As of now, we can not make requests without having actual
connection(conn_rec) to the server.

For example, mod-cache-requester needs to make request for popular and
soon-to-expire from cache pages so that these pages are reloaded in
the cache.  right now, it has to rely on libcurl to re-request page,
which is not very elegant.

other than mod-cache-requester, There are many other intersting things
that can be done if we could create requests internally without
requiring conn_rec.

I looked over existing code, It seems, the best (and easiest) way to
implement this is by mocking up conn_rec. so basically we implement
one more version of core_create_conn() function which would initialize
request url, sockets and various pools such that this conn_rec would
work with existing request_rec.

we can pass this mocked up conn_rec to make_sub_request and thus would
be bale to make requests internally. any thoughts?

I believe, apr_http_client would solve this problem, but I am not sure
about the status of it. If anybody is working on it and dont mind if I
jump into the development cycle, let me know. I would love to get my
hands dirty in this problem.

-Parin.

Reply via email to