On 8/19/2010 7:57 PM, Jeff Trawick wrote:
On Tue, Jul 20, 2010 at 10:59 AM, Daniel Ruggeri <[email protected] <mailto:[email protected]>> wrote:

    On 7/16/2010 10:37 AM, Jeff Trawick wrote:

        On Fri, Jul 16, 2010 at 11:27 AM, William A. Rowe Jr.
        <[email protected] <mailto:[email protected]>>  wrote:

            On 7/16/2010 9:35 AM, William A. Rowe Jr. wrote:

                On 7/16/2010 6:47 AM, Jeff Trawick wrote:

                    We may as well leave it at "erroronstatus"  I
                    agree with Eric on
                    keeping your original choice and worrying about
                    the doc.

                Can we drop the word error, since it has four
                potential meanings?

                backendfailureonstatus perhaps, or something along
                those lines?

            Hold up; see
            http://tomcat.apache.org/connectors-doc/reference/workers.html
            fail_on_status - why would we invent new phrases?

        good catch



    Sounds like this would be the best name. As promised, here is the
    final patch including doc, the name "failonstatus", and updates
    made in trunk for this patch. Also included is an update to trunk
    for the new name and doc.


Thanks; I added one tweak to the patch -- an "s" at the end of "code" in the following line:

+                return "erroronstatus must be one or more HTTP response code";

+            }


    For ease of reading, the doc patch reads thusly:
           A single or comma-separated list of HTTP status codes. If
    set this will
           force the worker into error state when the backend returns
    any status code
           in the list. Worker recovery behaves the same as other
    worker errors.

    Finally, here is my proposed change to STATUS to indicate
    completion of Jeff's suggestions as well as update the location of
    the 2.2.x patch:
    --- STATUS      2010-07-20 09:53:36.298789200 -0500
    +++ STATUS.mod  2010-07-20 09:54:15.466286400 -0500
    @@ -145,13 +145,9 @@
        statuses are found
        PR: 48939
        Trunk patch: http://svn.apache.org/viewvc?rev=930125&view=rev
    <http://svn.apache.org/viewvc?rev=930125&view=rev>
    -    2.2.x patch:
    https://issues.apache.org/bugzilla/attachment.cgi?id=25153
    +    2.2.x patch:
    https://issues.apache.org/bugzilla/attachment.cgi?id=25788


Any chance you can update your 2.2.x patch in Bugzilla to include the tweaked wording (s/code/codes/)? Sorry :)

        Submitted by: Daniel Ruggeri <DRuggeri primary.net
    <http://primary.net>>

        +1: niq, jim
    -    trawick suggests:
    -      1. somebody write doc (Daniel volunteers)
    -      2. somebody create new patch which includes r962972, any
    -          subsequent changes, and doc (Daniel volunteers)

      * mod_disk_cache: Decline the opportunity to cache if the
    response is
        a 206 Partial Content. This stops a reverse proxied partial
    response


    Thank you, all.
    --
    Daniel Ruggeri



Jeff;
I'm not sure what happened - the 2.2 patch I submitted had a mixture between "failonstatus" and "erroronstatus", but the trunk patch did not. I only noticed because of the message you posted about patching the patch and the update didn't seem right. In any event, I have updated Bugzilla and the new 2.2 patch can be found here:
https://issues.apache.org/bugzilla/attachment.cgi?id=25923

Sorry about the confusion.

Status update should look like this (new attachment ID included)
--- STATUS      2010-07-20 09:53:36.298789200 -0500
+++ STATUS.mod  2010-07-20 09:54:15.466286400 -0500
@@ -145,13 +145,9 @@
      statuses are found
      PR: 48939
      Trunk patch: http://svn.apache.org/viewvc?rev=930125&view=rev
-    2.2.x patch: https://issues.apache.org/bugzilla/attachment.cgi?id=25153
+    2.2.x patch: https://issues.apache.org/bugzilla/attachment.cgi?id=25923
      Submitted by: Daniel Ruggeri<DRuggeri primary.net>
      +1: niq, jim
-    trawick suggests:
-      1. somebody write doc (Daniel volunteers)
-      2. somebody create new patch which includes r962972, any
-          subsequent changes, and doc (Daniel volunteers)

    * mod_disk_cache: Decline the opportunity to cache if the response is
      a 206 Partial Content. This stops a reverse proxied partial response


Reply via email to