mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-08 09:39:12 +02:00
parent
3f3705725d
commit
8c3d0149e2
@ -267,13 +267,8 @@ begin
|
||||
end;
|
||||
end;
|
||||
FCGI_STDIN : begin
|
||||
InitRequestVars;
|
||||
if AFCGIRecord^.contentLength=0 then
|
||||
begin
|
||||
Result := True;
|
||||
ParseCookies;
|
||||
end
|
||||
else
|
||||
Result:=AFCGIRecord^.contentLength=0;
|
||||
if not Result then
|
||||
begin
|
||||
cl := length(FSTDin);
|
||||
rcl := BetoN(PFCGI_ContentRecord(AFCGIRecord)^.header.contentLength);
|
||||
@ -289,6 +284,8 @@ begin
|
||||
if poFailonUnknownRecord in FPO then
|
||||
TFCgiHandler.DoError('Unknown FASTCGI record type: %s',[AFCGIRecord^.reqtype]);
|
||||
end;
|
||||
if Result then
|
||||
InitRequestVars;
|
||||
end;
|
||||
|
||||
function TFCGIRequest.DoGetCGIVar(AVarName: String): String;
|
||||
|
Loading…
Reference in New Issue
Block a user