title: Large File Upload Using Lighttpd and CGI
body: <p>I am trying to upload large file using lighttpd and then serve it through CGI C routine.</p>
  
  <p>When i upload files less than 64KB things are alright, but when i try to upload large file, lighttpd err log shows the following and exits with <em>HTTP 500 Internal Server Error</em>.</p>
  
  <blockquote>
    <p>/mod_cgi.c.1135) write() failed due to:  Broken pipe</p>
  </blockquote>
  
  <p>I have developed a web page, which will post data with multipart/form-data.</p>
  
  <p>Waiting for the response.</p>
  
  <p>Thanks in Advance.</p>