You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "alexander zakshevskii (JIRA)" <ji...@apache.org> on 2015/06/26 13:59:04 UTC

[jira] [Updated] (VYSPER-349) New request is counted as "Resend" request

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

alexander zakshevskii updated VYSPER-349:
-----------------------------------------
    Description: 
Please check "insertRequest" method of "BoshBackedSessionContext" class.
Inside this method we have folllowing code:

final boolean resend = rid <=requestsWindow.getCurrentProcessingRequest();

if we have several requests and they come out of order to the server - there is a possibility that we will receive at first request with highest rid and only after that request with lower rid. This will lead us that the request with lower rid will be counted as "resend" request and it will lead to session termination.

  was:
Please check "insertRequest" method of "BoshBackedSessionContext" class.
Inside this method we have folllowing code:

final boolean resend = rid <=requestsWindow.getCurrentProcessingRequest();

if we have several requests and they come out of order to the server - there is a possibility that we will receive at first request with highest rid and after that request with lower rid. This will lead us that the request with lower rid will be counted as "resend" request and it will lead to session termination.


> New request is counted as "Resend" request
> ------------------------------------------
>
>                 Key: VYSPER-349
>                 URL: https://issues.apache.org/jira/browse/VYSPER-349
>             Project: VYSPER
>          Issue Type: Bug
>          Components: BOSH
>    Affects Versions: 0.8
>         Environment: Ubuntu 14.04 LTS, WebSphere Application Server 8.0.0.9
>            Reporter: alexander zakshevskii
>
> Please check "insertRequest" method of "BoshBackedSessionContext" class.
> Inside this method we have folllowing code:
> final boolean resend = rid <=requestsWindow.getCurrentProcessingRequest();
> if we have several requests and they come out of order to the server - there is a possibility that we will receive at first request with highest rid and only after that request with lower rid. This will lead us that the request with lower rid will be counted as "resend" request and it will lead to session termination.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)