Note actual transport on the client, too.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5800 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -163,8 +163,10 @@ public class BlockingCommunicator extends Communicator
|
|||||||
{
|
{
|
||||||
// post as datagram if hinted and possible
|
// post as datagram if hinted and possible
|
||||||
if (!msg.getTransport().isReliable() && _datagramWriter != null) {
|
if (!msg.getTransport().isReliable() && _datagramWriter != null) {
|
||||||
|
msg.noteActualTransport(Transport.UNRELIABLE_UNORDERED);
|
||||||
_dataq.append(msg);
|
_dataq.append(msg);
|
||||||
} else {
|
} else {
|
||||||
|
msg.noteActualTransport(Transport.RELIABLE_ORDERED);
|
||||||
_msgq.append(msg);
|
_msgq.append(msg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user