I am implementing a HTTP web server. Now I have problem in how to do CGI post
method.
My current problem is that I don't know where and how to to get the content
length of user's form input string in the HTTP server program because I think
as long as I can get the content length, then my HTTP server program can set
the environment variable "CONTENT_LENGTH" to that value and the CGI code can
pick up that value to read in the user's query string from stdin.