Permalink
Browse files

EAGAIN on write were treated as EAGAIN on read by the FastCGI handler.

Thanks a million to Robert Olson <olson@mcs.anl.gov> for finding,
debugging and fixing this bug! http://bugs.cherokee-project.com/1133

git-svn-id: svn://cherokee-project.com/cherokee/trunk@6334 5dc97367-97f1-0310-9951-d761b3857238
  • Loading branch information...
1 parent f61ce29 commit f54fcc4a4fc94c26d83c4a63cd9f6851b19f6b33 @alobbs alobbs committed Feb 18, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 cherokee/handler_fcgi.c
View
@@ -646,7 +646,8 @@ send_post (cherokee_handler_fcgi_t *hdl,
}
break;
case ret_eagain:
- return ret_eagain;
+ /* EAGAIN on write */
+ return ret_deny;
case ret_eof:
case ret_error:
return ret_error;

0 comments on commit f54fcc4

Please sign in to comment.