babelouest / ulfius

Web Framework to build REST APIs, Webservices or any HTTP endpoint in C language. Can stream large amount of data, integrate JSON data with Jansson, and create websocket services
https://babelouest.github.io/ulfius
GNU Lesser General Public License v2.1
1.07k stars 183 forks source link

parameter non_interactive not working #245

Closed madmaxstrange closed 1 year ago

madmaxstrange commented 1 year ago

Describe the issue always wait for prompt !q

Expected behavior close silently

System (please complete the following information):

Additional context I guess in uwsc.c switch
lines 141 & 142 do { if (!config->non_interactive) { to if (!config->non_interactive) { do { ???

babelouest commented 1 year ago

Hello @madmaxstrange ,

Thanks for the issue, can you test with the last commit https://github.com/babelouest/ulfius/commit/7c8802020b8fbf69d3b2d33a06a52b9fec688a90 to check if the fix works?