You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Flash Networks (JIRA)" <ji...@apache.org> on 2006/11/30 18:10:21 UTC

[jira] Created: (HTTPCORE-16) When calling the retryRequest method in execute method in HttpRequestExecutor class, the third parameter is always null instead of passing the this.defaultContext parameter.

When calling the retryRequest method in execute method in HttpRequestExecutor class, the third parameter is always null instead of passing the this.defaultContext parameter.
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: HTTPCORE-16
                 URL: http://issues.apache.org/jira/browse/HTTPCORE-16
             Project: HttpComponents Core
          Issue Type: Bug
          Components: HttpCore
    Affects Versions: 4.0-alpha2
            Reporter: Flash Networks


When calling the retryRequest method in execute method in HttpRequestExecutor class, 
the third parameter is always null instead of passing the this.defaultContext parameter.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] Resolved: (HTTPCORE-16) When calling the retryRequest method in execute method in HttpRequestExecutor class, the third parameter is always null instead of passing the this.defaultContext parameter.

Posted by "Oleg Kalnichevski (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HTTPCORE-16?page=all ]

Oleg Kalnichevski resolved HTTPCORE-16.
---------------------------------------

    Resolution: Invalid

There's not much we can do about it. HttpRequestExecutor changed a lot since ALPHA2. One of those changes is that HttpRequestExecutor no longer attempts to retry a failed request. 

The trouble is that HttpRequestExecutor in some cases needs to re-open the connection in order to be able to retry the request. The process of opening a connection can be rather complex (if that connection must go via a proxy, for instance). This poses a whole bunch of issues that cannot be adequately resolved in HttpCore. What is proxy requires authentication? All connection management code (including HTTP proxy support, HTTP authentication, request retry support) belongs to HttpClient, not HttpCore.

Sorry about that.

Oleg

> When calling the retryRequest method in execute method in HttpRequestExecutor class, the third parameter is always null instead of passing the this.defaultContext parameter.
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HTTPCORE-16
>                 URL: http://issues.apache.org/jira/browse/HTTPCORE-16
>             Project: HttpComponents Core
>          Issue Type: Bug
>          Components: HttpCore
>    Affects Versions: 4.0-alpha2
>            Reporter: Flash Networks
>         Attachments: HttpRequestExecutor.java
>
>
> When calling the retryRequest method in execute method in HttpRequestExecutor class, 
> the third parameter is always null instead of passing the this.defaultContext parameter.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] Updated: (HTTPCORE-16) When calling the retryRequest method in execute method in HttpRequestExecutor class, the third parameter is always null instead of passing the this.defaultContext parameter.

Posted by "Flash Networks (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HTTPCORE-16?page=all ]

Flash Networks updated HTTPCORE-16:
-----------------------------------

    Attachment: HttpRequestExecutor.java

> When calling the retryRequest method in execute method in HttpRequestExecutor class, the third parameter is always null instead of passing the this.defaultContext parameter.
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HTTPCORE-16
>                 URL: http://issues.apache.org/jira/browse/HTTPCORE-16
>             Project: HttpComponents Core
>          Issue Type: Bug
>          Components: HttpCore
>    Affects Versions: 4.0-alpha2
>            Reporter: Flash Networks
>         Attachments: HttpRequestExecutor.java
>
>
> When calling the retryRequest method in execute method in HttpRequestExecutor class, 
> the third parameter is always null instead of passing the this.defaultContext parameter.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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