Mercurial > hg > nginx
view src/os/win32/ngx_dlopen.c @ 8862:3fdf0afd5d45 quic
HTTP/3: fixed pushed request finalization in case of error.
Previously request could be finalized twice. For example, this could happen
if "Host" header was invalid.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Fri, 17 Sep 2021 15:28:31 +0300 |
parents | 7142b04337d6 |
children |
line wrap: on
line source
/* * Copyright (C) Maxim Dounin * Copyright (C) Nginx, Inc. */ #include <ngx_config.h> #include <ngx_core.h> char * ngx_dlerror(void) { u_char *p; static u_char errstr[NGX_MAX_ERROR_STR]; p = ngx_strerror(ngx_errno, errstr, NGX_MAX_ERROR_STR); *p = '\0'; return (char *) errstr; }