Skip to content
This repository
Browse code

Applied the fastcgi + flup fix from Issue #11 by sciyoshi.

  • Loading branch information...
commit 806fcfd3d7ba0296bae47276170bd18d01cd0def 1 parent 9113399
Stefan de Konink authored August 11, 2012

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  cherokee/handler_fcgi.c
2  cherokee/handler_fcgi.c
@@ -516,7 +516,7 @@ build_header (cherokee_handler_fcgi_t *hdl, cherokee_buffer_t *buffer)
516 516
 
517 517
 	/* No POST?
518 518
 	 */
519  
-	if ((! http_method_with_input (conn->header.method)) || (! conn->post.has_info)) {
  519
+	if ((! http_method_with_input (conn->header.method)) || (! conn->post.has_info) || (! conn->post.len)) {
520 520
 		TRACE (ENTRIES",post", "Post: %s\n", "has no post");
521 521
 		add_empty_packet (hdl, FCGI_STDIN);
522 522
 	}

0 notes on commit 806fcfd

Please sign in to comment.
Something went wrong with that request. Please try again.