]> git.ipfire.org Git - thirdparty/freeradius-server.git/commit
Break in rest_request_encode_wrapper when at the end
authorHerwin Weststrate <herwinw@herwinw.nl>
Mon, 3 Apr 2023 16:35:30 +0000 (18:35 +0200)
committerMatthew Newton <matthew-git@newtoncomputing.co.uk>
Fri, 19 May 2023 13:15:06 +0000 (14:15 +0100)
commitacd5ce31c21b59e9d1522bb1b21ee683cc13586d
tree8f92e92a492b94712758568a2ed88976b2d32fbc
parentd1464f7fb3676b4ff9f9bd651bc4e8a89735403a
Break in rest_request_encode_wrapper when at the end

The old code still ran one more loop once the request has been finished.
This not only included a new memory allocation + move + free, but it
also resulted in the limit argument being effectively cut in half.
src/modules/rlm_rest/rest.c