On Sun, Oct 21, 2012 at 12:01:10AM +0400, Dmitry Sivachenko wrote: > As I wrote in my original e-mail, I use tune.bufsize=32768. I did not > tweak tune.maxrewrite though. > I will try to decrease maxrewrite to 1024 and see if 'show errors' will > dump more that 16k of URL. > > I don't fully understand it's meaning though. > If I need to match up to 25k size requests using reqrep directive, will > tune.bufsize=32768 and tune.maxrewrite=1024 be enough for that?
Yes. The max request that can be read at once is bufsize-maxrewrite. And since maxrewrite defaults to bufsize/2, I think you were limited to 16k which is in the same range as your request. > I am aware of problems 1) and 2) but we have some special service here > at work which requires that large URLs. OK. > Problem is that you never know when next invalid request will arrive so > it is possible to miss one no matter how ofter you poll for new errors. > > Since most request should fit even into 1024 buffer, would be nice to > dump at least first 1024 bytes via syslog for debugging. That could be a possibility indeed. Alternatively if your machine is not in production, you can run with -d and it will dump all requests and responses to stdout. Willy

