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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24327

MS Proxy with NTLM authentication set up does not work





------- Additional Comments From [EMAIL PROTECTED]  2003-11-03 13:17 -------
Alfonso,
Unfortunately I am unable to generate a proper patch at the moment (I am at the
client's site and they have CVS port blocked by the corporate firewall).
Basically the problem boils down to HttpClient (or me, if you please) forgetting
to reset the 'force-close connection' flag. This additional line in
HttpMethodBase#responseBodyConsumed should take care of the problem. I'll submit
a proper patch later today.

    protected void responseBodyConsumed() {

        // make sure this is the initial invocation of the notification,
        // ignore subsequent ones.
        responseStream = null;
        if (responseConnection != null) {
            responseConnection.setLastResponseInputStream(null);

            if (shouldCloseConnection(responseConnection)) {
                responseConnection.close();
            }
        }
        ///////////////////////////////////
        this.connectionCloseForced = false;
        ///////////////////////////////////
        doneWithConnection = true;
        if (!inExecute) {
            ensureConnectionRelease();
        }
    }

Oleg

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to