summaryrefslogtreecommitdiffhomepage
path: root/src/perl/nxt_perl_psgi_layer.h
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2020-11-05 16:10:59 +0300
committerMax Romanov <max.romanov@nginx.com>2020-11-05 16:10:59 +0300
commitd321d454f9304b083d62280d0621f282a74047ee (patch)
tree6b943c825614a541a2ebde01c08c66097b0eac79 /src/perl/nxt_perl_psgi_layer.h
parente17e73eddab015b8942d2228780bbd9afcc5e392 (diff)
downloadunit-d321d454f9304b083d62280d0621f282a74047ee.tar.gz
unit-d321d454f9304b083d62280d0621f282a74047ee.tar.bz2
Perl: request processing in multiple threads.
This closes #486 issue on GitHub.
Diffstat (limited to 'src/perl/nxt_perl_psgi_layer.h')
-rw-r--r--src/perl/nxt_perl_psgi_layer.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/perl/nxt_perl_psgi_layer.h b/src/perl/nxt_perl_psgi_layer.h
index 3fa349c0..af18ad0d 100644
--- a/src/perl/nxt_perl_psgi_layer.h
+++ b/src/perl/nxt_perl_psgi_layer.h
@@ -14,7 +14,7 @@
#include <perliol.h>
-typedef struct nxt_perl_psgi_io_arg nxt_perl_psgi_io_arg_t;
+typedef struct nxt_perl_psgi_io_arg_s nxt_perl_psgi_io_arg_t;
typedef long (*nxt_perl_psgi_io_read_f)(PerlInterpreter *my_perl,
nxt_perl_psgi_io_arg_t *arg, void *vbuf, size_t length);
@@ -24,7 +24,7 @@ typedef long (*nxt_perl_psgi_io_arg_f)(PerlInterpreter *my_perl,
nxt_perl_psgi_io_arg_t *arg);
-struct nxt_perl_psgi_io_arg {
+struct nxt_perl_psgi_io_arg_s {
SV *io;
PerlIO *fp;
@@ -32,7 +32,7 @@ struct nxt_perl_psgi_io_arg {
nxt_perl_psgi_io_read_f read;
nxt_perl_psgi_io_write_f write;
- void *ctx;
+ void *pctx;
};