Changeset 686
- Timestamp:
- 03/18/07 19:36:11 (2 years ago)
- Files:
-
- cherokee/trunk/ChangeLog (modified) (1 diff)
- cherokee/trunk/cherokee/handler_fcgi.c (modified) (1 diff)
- cherokee/trunk/cherokee/handler_scgi.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
cherokee/trunk/ChangeLog
r683 r686 1 2007-03-18 Alvaro Lopez Ortega <alvaro@alobbs.com> 2 3 * cherokee/handler_scgi.c (cherokee_handler_scgi_init): Return 4 ret_error rather than ret. Under some weird circunstances thread.c 5 was receiving a ret_deny from this funcion. It's safer to return 6 ret_error in these functions and be sure the connection is handled 7 properly. 8 1 9 2007-03-16 Alvaro Lopez Ortega <alvaro@alobbs.com> 2 10 cherokee/trunk/cherokee/handler_fcgi.c
r656 r686 731 731 if (unlikely (ret != ret_ok)) { 732 732 conn->error_code = http_service_unavailable; 733 return ret ;733 return ret_error; 734 734 } 735 735 cherokee/trunk/cherokee/handler_scgi.c
r656 r686 358 358 if (unlikely (ret < ret_ok)) { 359 359 conn->error_code = http_internal_error; 360 return ret ;360 return ret_error; 361 361 } 362 362 … … 373 373 if (unlikely (ret != ret_ok)) { 374 374 conn->error_code = http_internal_error; 375 return ret ;375 return ret_error; 376 376 } 377 377 … … 381 381 if (unlikely (ret != ret_ok)) { 382 382 conn->error_code = http_service_unavailable; 383 return ret ;383 return ret_error; 384 384 } 385 385