Forum Discussion
Hmm, not quite, I think.
Isnt it the client who makes the acctual call to the backend server, y.domain.com?
x.domain.com responds with a 302 to the client with a new location header and the client trying to make a new request to the new location?
In your scenario, x.domain.com makes the acctual request to y.domain.com in the back, right?
But if there is way to accomplish that instead, im in! :) but im not sure how to do that really..
Best regards,
Johan
I've partially solved my challanges now.
Most of the time the "second server" responds with json-responses.
Therefore I made an irulelx that get the requested content, chunks (50k chars each) it and send it over to irule since the rpc call has a limit of 64k per call. When all chunks is sent over to the irule, I restore it again and send (with http::respond) over it as an body to the client that did the original request.
So far so good, but then I found some pdf's... Up to 20 mb large. 20 million chars, divided into around 140 chunks, so i guess thats not the solution. I guess im stucked here, since the limit of 64k per call.
Is there something else I can do besides to ask the responsibles of the sites to move all "files" such as pdf and large images to the "main server"?
Best regards,
Johan