https://issues.apache.org/bugzilla/show_bug.cgi?id=46095
Summary: fail_on_status extension not work correctly Product: Tomcat Connectors Version: unspecified Platform: PC OS/Version: Windows XP Status: NEW Severity: normal Priority: P2 Component: Common AssignedTo: dev@tomcat.apache.org ReportedBy: [EMAIL PROTECTED] Created an attachment (id=22780) --> (https://issues.apache.org/bugzilla/attachment.cgi?id=22780) patch for jk_uri_worker_map.c When fail_on_status extension is set with two values, it works correctly . JkMount /*.jsp wk01;fail_on_status=500,501 However fail_on_status is set with three or more values, it not works correctly. In the following example, 502 and 503 are ignored. JkMount /*.jsp wk01;fail_on_status=500,501,502,503 Index: mod_jk-head/native/common/jk_uri_worker_map.c =================================================================== --- mod_jk-head/native/common/jk_uri_worker_map.c (revision 708069 ( https://svn.apache.org/viewcvs.cgi?view=rev&rev=708069 )) +++ mod_jk-head/native/common/jk_uri_worker_map.c (working copy) @@ -457,7 +457,7 @@ cnt = 0; #ifdef _MT_CODE_PTHREAD for (status = strtok_r(status, ", ", &lasts); - status; status = strtok_r(NULL, "&", &lasts)) { + status; status = strtok_r(NULL, ", ", &lasts)) { #else for (status = strtok(status, ", "); status; status = strtok(NULL, ", ")) { #endif regards. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]