Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using %{Module-Failure-Message[*]} in rlm_linelog format results in mangled output #3085

Open
arr2036 opened this issue Oct 30, 2019 · 1 comment
Labels
defect category: a defect or misbehaviour v3.x.x meta: relates to the v3.0.x branch

Comments

@arr2036
Copy link
Member

arr2036 commented Oct 30, 2019

Issue type

  • Defect - Unexpected behaviour (obvious or verified by project member).

Defect

How to reproduce the issue

The original issue was discovered when the 404 error output of the rlm_rest module was concatenated using %{Module-Failure-Message[*]} in an attempt to write it to a log file.

The 404 content was the default NGINX 404 error page.

Each line seemed to be significantly truncated in the log output.

@arr2036 arr2036 added defect category: a defect or misbehaviour v3.x.x meta: relates to the v3.0.x branch labels Oct 30, 2019
@alandekok
Copy link
Member

the xlat buffers in v3 are generally fixed-size, i.e. 256 bytes or 1024 bytes. We can increase ehgtir size, but we can't fix the underlying issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
defect category: a defect or misbehaviour v3.x.x meta: relates to the v3.0.x branch
Projects
None yet
Development

No branches or pull requests

2 participants