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

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

Commit 1a879cdf0deb16a60f9018c292f1da10bc760bdb in asterixdb's branch 
refs/heads/master from [~mhubail]
[ https://git-wip-us.apache.org/repos/asf?p=asterixdb.git;h=1a879cd ]

[ASTERIXDB-2475][OTH] Reject HTTP Pipelined Requests

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

Details:
- If a client sends multiple requests on the same connection
  before reading the response of each request (i.e. pipelined
  requests), the request will be rejected and the connection
  will be closed.
- Add test case.
- Fix typo in method name.

Change-Id: I67c370d4d37a3e267b30e13333714605b07b7515
Reviewed-on: https://asterix-gerrit.ics.uci.edu/3021
Sonar-Qube: Jenkins <[email protected]>
Tested-by: Jenkins <[email protected]>
Contrib: Jenkins <[email protected]>
Integration-Tests: Jenkins <[email protected]>
Reviewed-by: Murtadha Hubail <[email protected]>
Reviewed-by: Ian Maxon <[email protected]>


> Unsupported Http Pipelined Requests Are Accepted
> ------------------------------------------------
>
>                 Key: ASTERIXDB-2475
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-2475
>             Project: Apache AsterixDB
>          Issue Type: Bug
>          Components: OTH - Other
>    Affects Versions: 0.9.4
>            Reporter: Murtadha Hubail
>            Assignee: Murtadha Hubail
>            Priority: Major
>             Fix For: 0.9.5
>
>
> Our http server doesn't properly handle pipelined http request (i.e. sending 
> multiple requests on the same connections before receiving any responses). 
> However, those requests are currently accepted and this could lead to sending 
> corrupted responses. We should reject pipelined requests with proper error 
> message and close the client connection to avoid reading responses in a wrong 
> order.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to