Rick,

If I couldn't  use a regular proxy in front of such an application,
I'd rather go for paste.proxy instead of trying to implement it on
Pylons level.

On Mar 25, 5:31 pm, "ram" <[EMAIL PROTECTED]> wrote:
> I've got a requirement to have our Pylons app act as an occasional
> proxy to a different web service. In one case, we're going to proxy to
> an instance of Microsoft report server to fetch the results of report
> runs. The service has a straightforward URL request mechanism that
> simply streams the bytes of the results (in our case, a PDF file) back
> to the caller.
>
> As you might imagine some of these results are rather large, and we'd
> rather not have the server get too involved in buffering the result,
> as it might consume all available memory, or having to write a disk
> version and then read that back to the originating client.
>
> Conceptually, I see this as two pipes that could simply be connected
> -- the client is an open socket that is reading, waiting for results.
> The proxied URL request is a socket that wants to pump out bytes. Is
> there any simple way to simply connect the two pipes and let the bytes
> flow without having to have the application do the work of moving
> bytes from one pipe to another?
>
> Thanks,
> Rick


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to