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

Comments

@arr2036
Copy link
Member

@arr2036 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.

@alandekok

This comment has been minimized.

Copy link
Member

@alandekok alandekok commented Oct 31, 2019

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
Projects
None yet
2 participants
You can’t perform that action at this time.