Transaction is getting hang -- mod_proxy (C++ app)
Added by nishant about 15 years ago
Hello,
I am new to lighttpd world!!!
I integrated my C++ app with lighttpd through mod_proxy module.
Scenario:
My application server is in C++. Client is in Java.
Client is sending XML data over http. I configured "proxy" module to transfer http request to 127.0.0.1:8085.
On 127.0.0.1:8085 my C++ is listening for http data (simple tcp/ip based socket server). Waiting for client connection.
When Java client is sending http data it being transferred to the C++ app but when C++ app is returning http response, it is not getting across to lighttpd server.
Also, somehow transaction is getting "hang". I checked for output of "send(...)" in C++ app & output is number of bytes I am transferring.
But lighttpd is not processing response.
When i kill my C++ app then only "200" response is received by Java client but without any data.
I am confused where I am wrong ??
Is it some problem with http header, which C++ is adding to data ?
Please help me.
regards,
~Nishant