Hi there. I am seeking clarification of the limit of QUERY_STRING with
Apache. I have a requirement to provide all the information needed to
generate a customer report within a URL. This requires that I use a
GET method of the form:
Now my QUERY_STRING can be quite large. I wish to know the definitive
maximum size of this string. The only limit I found that may relate to
QUERY_STRING in the source code was:
bindist/include/httpd.h:#define DEFAULT_LIMIT_REQUEST_LINE 8190
Which is the compiled default for 'r->server->limit_req_line' in:
src/main/http_protocol.c:static int read_request_line(request_rec *r)
From what I understand, the reuqest line contains the Method, full
URI, and HTTP version. So the QUERY_STRING must be some value less
than 8190. I am surprised there is no exact limit on QUERY_STRING.
Can someone confirm my suspicions, and perhaps tell me if there is any
way to override this limit.
Thanks in advance, Neil