Deleted
Added
nxt_perl_psgi.c (519:743a347dfba3) | nxt_perl_psgi.c (521:93dc4a28dd37) |
---|---|
1 2/* 3 * Copyright (C) Alexander Borisov 4 * Copyright (C) NGINX, Inc. 5 */ 6 7#include <perl/nxt_perl_psgi_layer.h> 8 --- 10 unchanged lines hidden (view full) --- 19 nxt_task_t *task; 20 nxt_app_rmsg_t *rmsg; 21 nxt_app_wmsg_t *wmsg; 22 23 size_t body_preread_size; 24} nxt_perl_psgi_input_t; 25 26 | 1 2/* 3 * Copyright (C) Alexander Borisov 4 * Copyright (C) NGINX, Inc. 5 */ 6 7#include <perl/nxt_perl_psgi_layer.h> 8 --- 10 unchanged lines hidden (view full) --- 19 nxt_task_t *task; 20 nxt_app_rmsg_t *rmsg; 21 nxt_app_wmsg_t *wmsg; 22 23 size_t body_preread_size; 24} nxt_perl_psgi_input_t; 25 26 |
27nxt_inline nxt_int_t nxt_perl_psgi_write(nxt_task_t *task,nxt_app_wmsg_t *wmsg, | 27nxt_inline nxt_int_t nxt_perl_psgi_write(nxt_task_t *task, nxt_app_wmsg_t *wmsg, |
28 const u_char *data, size_t len, 29 nxt_bool_t flush, nxt_bool_t last); 30 31nxt_inline nxt_int_t nxt_perl_psgi_http_write_status_str(nxt_task_t *task, 32 nxt_app_wmsg_t *wmsg, nxt_str_t *http_status); 33 34static long nxt_perl_psgi_io_input_read(PerlInterpreter *my_perl, 35 nxt_perl_psgi_io_arg_t *arg, void *vbuf, size_t length); --- 482 unchanged lines hidden (view full) --- 518 519nxt_inline nxt_int_t 520nxt_perl_psgi_env_append_str(PerlInterpreter *my_perl, HV *hash_env, 521 const char *name, nxt_str_t *str) 522{ 523 SV **ha; 524 525 ha = hv_store(hash_env, name, (I32) strlen(name), | 28 const u_char *data, size_t len, 29 nxt_bool_t flush, nxt_bool_t last); 30 31nxt_inline nxt_int_t nxt_perl_psgi_http_write_status_str(nxt_task_t *task, 32 nxt_app_wmsg_t *wmsg, nxt_str_t *http_status); 33 34static long nxt_perl_psgi_io_input_read(PerlInterpreter *my_perl, 35 nxt_perl_psgi_io_arg_t *arg, void *vbuf, size_t length); --- 482 unchanged lines hidden (view full) --- 518 519nxt_inline nxt_int_t 520nxt_perl_psgi_env_append_str(PerlInterpreter *my_perl, HV *hash_env, 521 const char *name, nxt_str_t *str) 522{ 523 SV **ha; 524 525 ha = hv_store(hash_env, name, (I32) strlen(name), |
526 newSVpv((const char *) str->start, (STRLEN)str->length), 0); | 526 newSVpv((const char *) str->start, (STRLEN) str->length), 0); |
527 528 if (nxt_slow_path(ha == NULL)) { 529 return NXT_ERROR; 530 } 531 532 return NXT_OK; 533} 534 --- 619 unchanged lines hidden --- | 527 528 if (nxt_slow_path(ha == NULL)) { 529 return NXT_ERROR; 530 } 531 532 return NXT_OK; 533} 534 --- 619 unchanged lines hidden --- |