Skip to content

Tags: withthegrid/go-coap

Tags

v2.6.0

Enable additional linters and fix reported issues

v2.4.0

Fix an issue which prevents blockwise xfer working with observe

If you observe a resource and the state change is too big for a single
packet, it will be sent blockwise. However, only the first block is
sent with the observe token, it is expected that clients will request
subsequent blocks by issuing a new request. Returning a response to
this new request would fail on the client due to ETags not matching,
despite no ETags being used. The failure error was:

  received message doesn't contains ETAG but cached received message contains it([])

This patch ensures that the received message actually contains an
ETag, which fixes this issue.

v2.3.0

observation: cleanup channel after send response

v2.2.0

Verified

This commit was created on github.com and signed with GitHub’s verified signature. The key has expired.
fix infinite loop caused by close connection during TLS handshake (pl…

…gd-dev#184)

* fix infinite loop caused by close connection during TLS handshake

When connection is closed during TLS handshake, it returns i/o timeout.
So we need to validate if timeout real occurs by set deadline,
otherwise infinite loop occurs.

* check time validity only for timeout occurency

v2.1.3

Verified

This commit was created on github.com and signed with GitHub’s verified signature. The key has expired.
fix of silently stop notifications (plgd-dev#183)

fixes plgd-dev#179
implemented according to https://tools.ietf.org/html/rfc7641#section-3.4

v2.1.2

Move uint64 fields that are accessed using sync/atomic to the beginni…

…ng of struct to ensure proper alignment in memory

On 32-bit platforms (e.g. Raspberry Pi) it is caller's responsibility to arrange 64-bit alignment for sync/atomic operation parameters, see: https://golang.org/pkg/sync/atomic/#pkg-note-BUG. This commit fixes "SIGSEGV: segmentation violation" errors on Raspberry Pi 3.

v2.1.1

fix ping tests

v2.1.0

expose SetContextValue from ClientConn

v2.0.4

rename go-ocf to plgd-dev

v2.0.3

fix of order calls in observation

at first unblock Observe function and then call observeFunc