aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/BaseProtocolDecoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-06-05 20:35:56 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2018-06-05 20:35:56 +1200
commitc34ab02bb5943ecac8a143127967c29bda45647c (patch)
treedb684ab347eee873849040e2024cdbe260e97b0d /src/org/traccar/BaseProtocolDecoder.java
parentf0d1a5df7aecf1237609200d3ecb7cdd3d0abcab (diff)
downloadtrackermap-server-c34ab02bb5943ecac8a143127967c29bda45647c.tar.gz
trackermap-server-c34ab02bb5943ecac8a143127967c29bda45647c.tar.bz2
trackermap-server-c34ab02bb5943ecac8a143127967c29bda45647c.zip
Use wrappers for network message handling
Diffstat (limited to 'src/org/traccar/BaseProtocolDecoder.java')
-rw-r--r--src/org/traccar/BaseProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/BaseProtocolDecoder.java b/src/org/traccar/BaseProtocolDecoder.java
index 0750e1096..9c0b51c79 100644
--- a/src/org/traccar/BaseProtocolDecoder.java
+++ b/src/org/traccar/BaseProtocolDecoder.java
@@ -145,7 +145,7 @@ public abstract class BaseProtocolDecoder extends ExtendedObjectDecoder {
}
public DeviceSession getDeviceSession(Channel channel, SocketAddress remoteAddress, String... uniqueIds) {
- if (channel != null && channel.pipeline().get(HttpRequestDecoder.class) != null
+ if (channel != null && channel.pipeline().get(HttpRequestDecoder.class) != null // TODO change
|| Context.getConfig().getBoolean("decoder.ignoreSessionCache")) {
long deviceId = findDeviceId(remoteAddress, uniqueIds);
if (deviceId != 0) {