Skip Menu |
 

This queue is for tickets about the JSON-RPC CPAN distribution.

Report information
The Basics
Id: 76612
Status: new
Priority: 0/
Queue: JSON-RPC

People
Owner: Nobody in particular
Requestors: mellery [...] yahoo.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.01
Fixed in: (no value)



Subject: JSON::RPC::Server::Apache2 implementation checks max_length but doesn't give any way to override the value
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 466
Download (untitled) / with headers
text/plain 466b
the JSON::RPC::Server::Apache2 implementation of retrieve_json_from_post checks the max_length value and exits silently if it is exceeded. Interestingly, the CGI server implementation does not check this value, so it allows larger payloads. I have large payloads being delivered to my API. Can you provide a way to override or set this max_length value for the Apache2 server implementation? I guess another dir_config param would probably make sense. Thank you.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.