diff options
author | Anton Tananaev <anton@traccar.org> | 2023-08-17 06:56:58 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2023-08-17 06:57:06 -0700 |
commit | a1c12c50a8d0023d6ccfbf4eb0723a90eab55cc5 (patch) | |
tree | 7d92f6fd954573088cfb393fd8ce0ddbe7517bae /src/main/java | |
parent | 14bca86d8cb71764c699f3cb039484dcd8238bc0 (diff) | |
download | trackermap-server-a1c12c50a8d0023d6ccfbf4eb0723a90eab55cc5.tar.gz trackermap-server-a1c12c50a8d0023d6ccfbf4eb0723a90eab55cc5.tar.bz2 trackermap-server-a1c12c50a8d0023d6ccfbf4eb0723a90eab55cc5.zip |
Disable for UDP protocols
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/org/traccar/BasePipelineFactory.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/BasePipelineFactory.java b/src/main/java/org/traccar/BasePipelineFactory.java index d04fed383..5b48f3d15 100644 --- a/src/main/java/org/traccar/BasePipelineFactory.java +++ b/src/main/java/org/traccar/BasePipelineFactory.java @@ -125,7 +125,7 @@ public abstract class BasePipelineFactory extends ChannelInitializer<Channel> { } pipeline.addLast(new NetworkMessageHandler()); pipeline.addLast(new StandardLoggingHandler(protocol)); - if (!config.getBoolean(Keys.SERVER_INSTANT_ACKNOWLEDGEMENT)) { + if (!connector.isDatagram() && !config.getBoolean(Keys.SERVER_INSTANT_ACKNOWLEDGEMENT)) { pipeline.addLast(new AcknowledgementHandler()); } |