|
From: | Yeshwanth Sriram |
Subject: | [Fastcgipp-users] fastcgi++ hangs when POST request is submitted |
Date: | Tue, 24 Apr 2012 17:53:26 +0200 |
Hi, Have a simple program with responder deriving from Request<char> (it’s same as echo.cpp) the program is hooked up to nginx. When a POST request is made via ‘curl’ or via a HTML form POST from browser the fastcgi program simply hangs. Note that the GET request works fine. Here is the curl command. $curl --data name=me http://host:port/something/ Not sure what I’m missing. Here is the nginx location config. location ~ /something { fastcgi_index /index; fastcgi_pass 127.0.0.1:3001; fastcgi_param PATH_INFO ""; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_param SERVER_PORT $server_port; fastcgi_param SCRIPT_NAME $fastcgi_script_name; fastcgi_param REQUEST_METHOD $request_method; fastcgi_param QUERY_STRING $query_string; fastcgi_param CONTENT_TYPE $content_type; fastcgi_param CONTENT_LENGTH $content_length; } Will really appreciate some help.
|
[Prev in Thread] | Current Thread | [Next in Thread] |