Mercurial > hg > nginx-quic
view src/os/win32/ngx_dlopen.c @ 8245:49efd27dace6 quic
QUIC: use client max_ack_delay when computing pto timeout.
Previously, server max_ack_delay was used which is wrong.
Also, level check is simplified.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Wed, 09 Dec 2020 16:15:24 +0000 |
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; }