Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

start a streaming session to a web server using HTTP connect protocol.

Status
Not open for further replies.

kkarlekar

Programmer
May 3, 2011
1
US
I want to know if this is possible, I have lighthttpd server running on my setup.
The client side is a telnet client

I perform a
telnet <ipaddr> 80
CONNECT cgi/system HTTP/1.1
Host: foobar
Connection: Keep-alive



The "system" cgi binary needs a interactive streaming session with the client.
THe problem is the cgi binary is not able to read anything from stdin.
I guess lighttpd is closing the connection..

The CGI executable, sends
HTTP/1.1 200 Connection-established

and then starts to read on the stdin, but fails looks like lighttpd has already closed the connection..

My question can this be working solution, if so what am I doing working..




 
That is possible using apache, but I'm not familiar with that lighthttpd.

I suggest you find a forum dedicated to that server to post your question.

- Miller
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top