fastcgi / WEB-Application-Server

Erich Aigner

New Member
Hello!

I am trying to configure a Progress Character-Client as a fast-cgi Application-Server.

I got a connection to the fastcgi-Service but i never become a "Read-Request".

Example:
def var hSocket as handle.
create socket hSocket.

hSocket:connect ("-H speedy3.local -S 51000").
if hSocket:connected() then
do:
output to /tmp/debug.txt append unbuffered.
put "connected" skip.
end.

hSocket:Set-Read-Response-Procedure("ReadProc").
wait-for Read-Response of hSocket.

Procedure ReadProc.
put "There is a Read-Response!" skip.
output close.
End Procedure.

In /tmp/debug.txt i chan see, that the server connected - thats all.
Any Http-Requests hangs.

Has anyone ever done this?

Any Help would be appreciated!
Thank you in advance!
Erich
 

Marian EDU

Member
Erich Aigner said:
Hello!

I am trying to configure a Progress Character-Client as a fast-cgi Application-Server.

I got a connection to the fastcgi-Service but i never become a "Read-Request".

Example:
def var hSocket as handle.
create socket hSocket.

hSocket:connect ("-H speedy3.local -S 51000").
if hSocket:connected() then
do:
output to /tmp/debug.txt append unbuffered.
put "connected" skip.
end.

hSocket:Set-Read-Response-Procedure("ReadProc").
wait-for Read-Response of hSocket.

Procedure ReadProc.
put "There is a Read-Response!" skip.
output close.
End Procedure.

In /tmp/debug.txt i chan see, that the server connected - thats all.
Any Http-Requests hangs.

Has anyone ever done this?

Any Help would be appreciated!
Thank you in advance!
Erich

take a look to ganimede project on SourceForge… http://sourceforge.net/projects/ganimede


in you example even if I don't know what it's fastcgi-Service, but assuming some network server anyway... your client connect and then wait for the server to send him something, usually it's the client that make the first move (request)

Regards,
Marian

 
Top