Open dborovcanin opened 4 years ago
@dusanb94 is this one fixed?
Related to, and blocked by: https://github.com/absmach/coap-cli/pull/8, https://github.com/absmach/coap-cli/pull/7, https://github.com/absmach/mproxy/pull/60, https://github.com/absmach/mproxy/pull/43, #1963, #2206, #2183.
REFACTOR
Simplify CoAP adapter. Remove adapter logic from the transport layer and move it to the service implementation. Test for data race and optimize (currently, 4 goroutines are started on a single connection). Make session handling transparent so that it can be replaced with a scalable solution such as storing it in the Redis.