hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 29874] - Auto method retrial broken
Date Sat, 03 Jul 2004 22:08:46 GMT
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=29874>.
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=29874

Auto method retrial broken





------- Additional Comments From olegk@apache.org  2004-07-03 22:08 -------
I tend to agree that the whole auto-recovery mechanism the way it is
implementent now is flawed. Simply put, any IOException can potentially be
treated as recoverable provided the application layer ensures methods'
idempotentcy. 

All it basically takes is this

    boolean retryMethod(
        HttpMethod method, 
        IOException exception,
        int executionCount);

The question is do we want to fix it now or do we want to fix it later?

This is what I can live with for now (the patch coming shortly). Let me know
what you think

Oleg

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org


Mime
View raw message