httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Igor Shevchenko" <...@carcass.ath.cx>
Subject read_limit
Date Thu, 01 Jan 1970 00:00:00 GMT
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


Mime
View raw message