We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug之处
@Override public Future<Boolean> push(PushContext context) { if (!connection.getSessionContext().handshakeOk()) { logger.warn("connection is not handshake ok!"); return null; } PushMessage message = new PushMessage(context.getContext(), connection); message.addFlag(context.ackModel.flag); message.send(); logger.debug("<<< send push,Packet=%s, message=%s",message.getPacket(), message); return ackRequestMgr.add(message.getSessionId(), context); }
bug修复,调式发现服务端的ack返回早于message.send()
@Override public Future<Boolean> push(PushContext context) { if (!connection.getSessionContext().handshakeOk()) { logger.warn("connection is not handshake ok!"); return null; } PushMessage message = new PushMessage(context.getContext(), connection); message.addFlag(context.ackModel.flag); Future<Boolean> task = ackRequestMgr.add(message.getSessionId(), context); message.send(); logger.debug("<<< send push,Packet=%s, message=%s",message.getPacket(), message); return task; }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
bug之处
bug修复,调式发现服务端的ack返回早于message.send()
The text was updated successfully, but these errors were encountered: