Mercurial > hg > nginx
view src/os/win32/ngx_dlopen.c @ 6764:edffb7defebe stable-1.10
HTTP/2: refactored ngx_http_v2_send_output_queue().
Now it returns NGX_AGAIN if there's still data to be sent.
author | Valentin Bartenev <vbart@nginx.com> |
---|---|
date | Tue, 19 Jul 2016 20:34:02 +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; }