[ 
https://issues.apache.org/jira/browse/ASTERIXDB-2033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16124628#comment-16124628
 ] 

ASF subversion and git services commented on ASTERIXDB-2033:
------------------------------------------------------------

Commit 4cf1f7b9775a85bd84c3d682277d16e056b81fb2 in asterixdb's branch 
refs/heads/master from [~alamoudi]
[ https://git-wip-us.apache.org/repos/asf?p=asterixdb.git;h=4cf1f7b ]

[ASTERIXDB-2033][OTH] restrict chunk size in http server

- user model changes: no
- storage format changes: no
- interface changes: no

details:
- This change ensures no large chunks are written to
  direct buffers in the http server.

Change-Id: I08bac47ea28f66502b99df6fb8ff91dd85566d38
Reviewed-on: https://asterix-gerrit.ics.uci.edu/1935
Sonar-Qube: Jenkins <jenk...@fulliautomatix.ics.uci.edu>
Integration-Tests: Jenkins <jenk...@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenk...@fulliautomatix.ics.uci.edu>
Contrib: Jenkins <jenk...@fulliautomatix.ics.uci.edu>
Reviewed-by: Murtadha Hubail <mhub...@apache.org>


> Http server tries to write large chunks to direct buffers
> ---------------------------------------------------------
>
>                 Key: ASTERIXDB-2033
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-2033
>             Project: Apache AsterixDB
>          Issue Type: Bug
>          Components: OTH - Other
>            Reporter: Abdullah Alamoudi
>            Assignee: Abdullah Alamoudi
>
> The Http server chunked output stream writes response in chunks and relies on 
> writability of channels to perform flow control.
> When chunks are large, flow control is broken and this could lead to overflow 
> of direct buffer allocation.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to