Skip to content

Conversation

@Maxoid
Copy link

@Maxoid Maxoid commented Feb 18, 2019

…ler in the case where it optional on the server

GridNioFuture<?> sndFut = ses.send(msg);
GridNioFuture<?> sndFut;
if(sesTok == null && credentials() != null ) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please reformat code according to codestyle.

req.requestId(reqId);

sndFut = ses.send(req);
} else {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please reformat code according to codestyle.


req.requestId(reqId);

sndFut = ses.send(req);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see where you send "msg" in this branch. Is it ignored?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The message is already pended in the original future (for which status is changing to STATE_AUTH_RETRY). So the message is not ignored but postponed.

Maxoid added 2 commits April 12, 2019 14:34
…ler in the case where it optional on the server

Unit test added
…ler in the case where it optional on the server

style
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants