hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Kalnichevski (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HTTPCORE-112) DefaultConnectionReuseStrategy misinterprets Connection header
Date Wed, 03 Oct 2007 16:34:50 GMT

    [ https://issues.apache.org/jira/browse/HTTPCORE-112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12532156

Oleg Kalnichevski commented on HTTPCORE-112:


I would like to try to pack some of the changes needed for this issue into the coming ALPHA6
release, especially those that affect the public API. While you are working on header iterators
I could give you a helping hand and deal with the low level token parsing. 

How about adding the following methods to the HeaderValueParser / HeaderValueFormatter interfaces?
Does thing go along with your line of thinking?

HeaderValueParser interface: 

String[] parseTokens(CharArrayBuffer buffer,
                                 int indexFrom,
                                 int indexTo)
        throws ParseException

HeaderValueFormatter interface: 

    CharArrayBuffer formatTokens(CharArrayBuffer buffer,
                                     String[] tokens);

> DefaultConnectionReuseStrategy misinterprets Connection header
> --------------------------------------------------------------
>                 Key: HTTPCORE-112
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-112
>             Project: HttpComponents Core
>          Issue Type: Bug
>          Components: HttpCore
>    Affects Versions: 4.0-alpha5
>            Reporter: Roland Weber
>            Priority: Minor
>             Fix For: 4.0-beta1
>         Attachments: multiuconn.patch
> DefaultConnectionReuseStrategy assumes that "Connection:" is a single-valued header.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

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

View raw message