You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2007/08/20 15:29:32 UTC

DO NOT REPLY [Bug 43167] New: - Adding status=i|I (Ignore Errors) option for ProxyPassReverse

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43167>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43167

           Summary: Adding status=i|I  (Ignore Errors) option for
                    ProxyPassReverse
           Product: Apache httpd-2
           Version: 2.2.4
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: mod_proxy
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: kikov@kikov.org


Hello,

I have made a tiny patch for allowing marking a ProxyPass entry as
WORKER_IGNORE_ERRORS. That will allow not to disable the requests to the server
if it makes a Timeout or  single error.

---
diff -ur apache2-2.2.4.orig/modules/proxy/mod_proxy.c
apache2-2.2.4.kikov1/modules/proxy/mod_proxy.c
--- apache2-2.2.4.orig/modules/proxy/mod_proxy.c        2006-11-27
16:00:56.000000000 +0100
+++ apache2-2.2.4.kikov1/modules/proxy/mod_proxy.c      2007-08-20
15:17:46.000000000 +0200
@@ -219,6 +219,12 @@
                 else
                     worker->status &= ~PROXY_WORKER_HOT_STANDBY;
             }
+           else if (*v == 'I' || *v == 'i') {
+               if (mode)
+                   worker->status |= PROXY_WORKER_IGNORE_ERRORS;
+               else
+                   worker->status &= ~PROXY_WORKER_IGNORE_ERRORS;
+           }
             else {
                 return "Unknown status parameter option";
             }
---

I have found people looking for this:
 http://www.mail-archive.com/dev@httpd.apache.org/msg36492.html

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 43167] - Adding status=i|I (Ignore Errors) option for ProxyPass

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43167>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43167


kikov@kikov.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Adding status=i|I  (Ignore  |Adding status=i|I  (Ignore
                   |Errors) option for          |Errors) option for ProxyPass
                   |ProxyPassReverse            |




-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 43167] - Adding status=i|I (Ignore Errors) option for ProxyPass

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43167>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43167


nick@webthing.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Additional Comments From nick@webthing.com  2007-09-08 06:10 -------
Fixed in 2.2.6

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 43167] - Adding status=i|I (Ignore Errors) option for ProxyPassReverse

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43167>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43167


wrowe@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |PatchAvailable




------- Additional Comments From wrowe@apache.org  2007-08-21 02:55 -------
Not reviewed, just tagging.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 43167] - Adding status=i|I (Ignore Errors) option for ProxyPass

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43167>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43167





------- Additional Comments From kikov@kikov.org  2007-08-30 13:10 -------
Created an attachment (id=20743)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=20743&action=view)
Add the 'I' option to ProxyPass status directive

Update on documentation. That patch has been done with svn diff to trunk

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 43167] - Adding status=i|I (Ignore Errors) option for ProxyPassReverse

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43167>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43167





------- Additional Comments From kikov@kikov.org  2007-08-20 06:33 -------
Created an attachment (id=20681)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=20681&action=view)
proxypass_status_worker_ignore_errors_options.diff

Patch on 2.2.4.. It should apply perfectly in others (tiny and clean diff)

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org