3 Commits

Author SHA1 Message Date
Bolke de Bruin
611d1bfd15 fix: ignore non project files 2025-09-05 14:38:59 +02:00
Mike Marchetti
20307b9a76 fix: handle multiple message frames inside packet (#143)
Running the gateway as non-tls, but using an external TLS gateway in
kubernetes+istio, I determined that the istio TLS gateway would join
messages frames into a single TCP packet. The packet read code assumed
that a single packet is a message. This is not the case for a TCP
stream, since you don't know how the frames are segmented via proxies,
etc.

The fix turned out more complex that I would have liked, but added a
number of unit tests to cover all the corner cases. Likely fragmentation
was not working correctly as well, as there was some cases that were
previously not handled.

Note that this might address issue #126 as well.
2025-05-06 17:38:16 +02:00
Krzysztof Adamski
48da75b96d Bump go to 1.17 and upgrade deps (#32)
Co-authored-by: Krzysztof Adamski <krzysztof.adamski@ing.com>
2022-07-08 09:55:10 +02:00