Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

cherokee_connection_build_header() can return ret_eagain with and

without requiring any I/O polling.
  • Loading branch information...
commit 9fed6d2e1aa32c32c48927139af722294f100743 1 parent 83ec242
@alobbs alobbs authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 cherokee/thread.c
View
4 cherokee/thread.c
@@ -1124,7 +1124,9 @@ process_active_connections (cherokee_thread_t *thd)
case ret_ok:
break;
case ret_eagain:
- cherokee_thread_deactive_to_polling (thd, conn);
+ if (cherokee_connection_poll_is_set (&conn->polling_aim)) {
+ cherokee_thread_deactive_to_polling (thd, conn);
+ }
continue;
case ret_eof:
case ret_error:
Please sign in to comment.
Something went wrong with that request. Please try again.