Ticket #343 (new enhancement)

Opened 18 months ago

patch to handle large response with wsgiproxy.exactproxy

Reported by: gawel Owned by: ianb
Priority: normal Milestone:
Component: paste Version: svn-trunk
Severity: normal Keywords: wsgiproxy
Cc:

Description

As the comment said: This shouldn't really read in all the content at once

exactproxy.proxy_exact_request raise a MemoryError? when the response is too big (> 4Mb)

Here is a patch to iter over a large response body

I've also added a new test for this but since the original test don't work for me (can't get the correct output both with 2.4 and 2.5) i attach an other patch for this

Attachments

large_response.patch Download (1.6 KB) - added by gawel 18 months ago.
large_response_test.patch Download (2.3 KB) - added by gawel 18 months ago.

Change History

Changed 18 months ago by gawel

Changed 18 months ago by gawel

Add/Change #343 (patch to handle large response with wsgiproxy.exactproxy)

Author


E-mail address and user name can be saved in the Preferences.


Change Properties
<Author field>
Action
as new
as The resolution will be set. Next status will be 'closed'
to The owner will change from ianb. Next status will be 'new'
The owner will change from ianb to anonymous. Next status will be 'assigned'
 
Note: See TracTickets for help on using tickets.