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

rlm_rest does not support HTTP/2 #2821

alandekok opened this issue Jul 30, 2019 · 0 comments


Copy link

commented Jul 30, 2019

Issue type

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


How to reproduce the issue

Have a web server support HTTP/2 ,and use rlm_rest

Output of [radiusd|freeradius] -X showing issue occurring

   (1) rest: Processing response header
   (1) rest: ERROR: Malformed HTTP header: Status line too short
   (1) rest: ERROR: Received 13 bytes of response data: HTTP/2 404  
   (1) rest: ERROR: Request failed: 23 - Failed writing received data
   to disk/application
   (1) rest: ERROR: Server returned no data
   rlm_rest (rest): Released connection (0)```

We can force libcurl to use a particular HTTP version:

But we can't disable HTTP/2, and allow HTTP/1.1 and HTTP/1.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
1 participant
You can’t perform that action at this time.