mg_write_http_response_head() should not use API from mongoose_ex; also updated the Coinnection:close logic to sync must_close state and Connection: header value so that user code only setting Connection:close _implicitly_ will also have set must_close=1 as long as they make sure to call mg_write_http_response_head()
mg_write_http_response_head() should not use API from mongoose_ex; also updated the Coinnection:close logic to sync must_close state and Connection: header value so that user code only setting Connection:close _implicitly_ will also have set must_close=1 as long as they make sure to call mg_write_http_response_head()

commshare/civet-webserver,commshare/civet-webserver,GerHobbelt/civet-webserver,commshare/civet-webserver,GerHobbelt/civet-webserver,GerHobbelt/civet-webserver,GerHobbelt/civet-webserver,commshare/civet-webserver,GerHobbelt/civet-webserver,GerHobbelt/civet-webserver,commshare/civet-webserver,commshare/civet-webserver,commshare/civet-webserver