FU: Some FastCGI fixes; FU::Util: utf8_decode & URI escaping
This commit is contained in:
parent
d9fba4e8d8
commit
90cfd66069
6 changed files with 146 additions and 33 deletions
5
FU.xs
5
FU.xs
|
|
@ -116,7 +116,7 @@ void new(int fd, int maxproc)
|
|||
void read_req(fufcgi *ctx, SV *headers, SV *params)
|
||||
CODE:
|
||||
ST(0) = sv_2mortal(newSViv(fufcgi_read_req(aTHX_ ctx, headers, params)));
|
||||
ctx->off = 8;
|
||||
ctx->off = ctx->len = 0;
|
||||
|
||||
void keepalive(fufcgi *ctx)
|
||||
CODE:
|
||||
|
|
@ -130,8 +130,7 @@ void print(fufcgi *ctx, SV *sv)
|
|||
|
||||
void flush(fufcgi *ctx)
|
||||
CODE:
|
||||
fufcgi_flush(ctx);
|
||||
ctx->off = ctx->len = ctx->reqid = 0;
|
||||
fufcgi_done(ctx);
|
||||
|
||||
void DESTROY(fufcgi *ctx)
|
||||
CODE:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue