view src/os/win32/ngx_dlopen.c @ 9004:dde5cb0205ef quic

QUIC: fixed the "quic_stream_buffer_size" directive. The default value is now correctly set and the configuration is properly merged.
author Vladimir Homutov <vl@nginx.com>
date Tue, 08 Feb 2022 23:00:12 +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;
}