Mercurial > hg > nginx-quic
view src/os/win32/ngx_dlopen.c @ 7232:a7ed15573ae9
Upstream: u->conf->preserve_output flag.
The flag can be used to continue sending request body even after we've
got a response from the backend. In particular, this is needed for gRPC
proxying of bidirectional streaming RPCs, and also to send control frames
in other forms of RPCs.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Sat, 17 Mar 2018 23:04:23 +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; }