You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Andrea Selva (JIRA)" <ji...@apache.org> on 2008/03/02 12:24:50 UTC

[jira] Updated: (HTTPCORE-92) NIO ChunkEncoder does not flush the session output buffer

     [ https://issues.apache.org/jira/browse/HTTPCORE-92?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrea Selva updated HTTPCORE-92:
---------------------------------

    Attachment: fix3_92.patch

Hi Oleg,
 modified previous patch to avoid the usage of a slice buffer, and writed two simple test to check the behavoir oat the bounds for this patch.
 i hope could be helpful.
  Andrea 

> NIO ChunkEncoder does not flush the session output buffer
> ---------------------------------------------------------
>
>                 Key: HTTPCORE-92
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-92
>             Project: HttpComponents HttpCore
>          Issue Type: Improvement
>          Components: HttpCore NIO
>            Reporter: Oleg Kalnichevski
>             Fix For: 4.0-beta2
>
>         Attachments: fix2_92.patch, fix3_92.patch, possiblefix_92.patch, write_reworked.txt
>
>
> Present implementation of the NIO ChunkEncoder is over-simplistic. It always expands the session output buffer to store more content instead of trying to free up space by flushing the buffered content.

-- 
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: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org