title: WebSocket and CGI/FastCGI/SCGI protocols
body: <p>I'm looking for resources about interaction between client side web socket, web server and real application backend that works behind CGI, FastCGI or SCGI protocols.</p>
  
  <p>It seems that this is impossible at this point as:</p>
  
  <p>Request length is specifically defined in <code>CONTENT_LENGTH</code> variable so I can't expect
  that the data would continue to come from web server from stdin, or may I? as unset <code>CONTENT_LEGTH</code> defines no-request body.</p>
  
  <p>Application require to read <code>CONTENT_LEGTH</code> bytes of date no-more and if less are read then it is considered as disconnected client.</p>
  
  <ul>
  <li>Are there any resources on how (F|C)CGI is updated or can be used with WebSockets?</li>
  <li>Are there any drafts of SCGI/FCGI/CGI specks for WebSockets support?</li>
  <li>Are there any known web servers that support WebSockets?</li>
  <li>If so, do they support *CGI protocols for them?</li>
  <li>Have you had any experience with working with WebSockets and *CGI?</li>
  </ul>
  
  <p>Thank you, all information would be appropriate.</p>
  
  <p>Artyom</p>
  
  <p><strong>Anybody?</strong></p>