mirror of
https://github.com/AdaCore/aws.git
synced 2026-02-12 12:29:46 -08:00
* regtests/0118_test_net_log/test.out, regtests/0155_user_sock/test.out, regtests/0317_hide_id/test.out, src/core/aws-response.adb: Content-Length header defined earlier * regtests/0144_tlog/tlog_proc.adb, regtests/0318_config_log/conflog_proc.adb: Replace HTTP/2 to HTTP/1.1 in log output where possible to have the same test output. * src/core/aws-server-http_utils.adb (Log_Commit): Do not need type conversion to call AWS.Utils.Image. (Send_Resource): Send Content-Length only is it was not sent before. src/core/aws-server-protocol_handler_v2.adb (Finalize): Move to upper level to keep objects for logging in exception handlers. (Process_Error): New routine to use from exception handlers. Adds call to Log_Commit. * src/http2/aws-http2-message.adb (Create): Use Update instead of Add for Content-Length header.