You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apreq-dev@httpd.apache.org by Igor Shevchenko <ai...@carcass.ath.cx> on 2006/02/10 10:53:26 UTC

read_limit

Message-ID: 4186

Hi All,

There was a change between libapreq2 2.06 and 2.07 which made it impossible(?) to set read_limit above 64mb (APREQ_DEFAULT_READ_LIMIT) from perl. I can still set it higher using APREQ2_ReadLimit apsche config option. The change itself was in the apreq_create_dir_config function in module/apache2/filter.c:

-    dc->read_limit    = (apr_uint64_t)-1;
+    dc->read_limit    = APREQ_DEFAULT_READ_LIMIT;

$apr->read_limit (xxx) and $apr = Apache2::Request->new ( $_[0], read_limit => xxx ) no longer work for xxx > 64mb.

Am I missing something? Is there another way to set read_limit higher from perl ?

--
Best Regards,
Igor Shevchenko