Rui Wang created RATIS-1115:
-------------------------------

             Summary: NettyServerStreamRpc should handle error cases like 
duplicate headers. 
                 Key: RATIS-1115
                 URL: https://issues.apache.org/jira/browse/RATIS-1115
             Project: Ratis
          Issue Type: Sub-task
            Reporter: Rui Wang
            Assignee: Rui Wang


Current server does 

 

if (Header) {

   streams.computeIfAbsent(request.getStreamId(), id ->createStream). 

   ... 

}

 

It is possible that clients send multiple headers so the entry already exists. 
We might choose to send a error reply without accepting duplicated headers. 

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to