zubairhamed / canopus

CoAP Client/Server implementing RFC 7252 for the Go Language
Apache License 2.0
155 stars 41 forks source link

DTLS only supports a single request #99

Open ptone opened 6 years ago

ptone commented 6 years ago

Only the first request is responded to.

I've been trying to trace it through the differences between server.handleIncomingDTLSData and server.handleIncomingData

but without luck

ptone commented 6 years ago

I've tracked it as far as C.SSL_read in DTLSServerSession.Read but not sure I'll go any further.

DTLS in go is in a sad state :( https://github.com/golang/go/issues/13525

franzwilhelm commented 6 years ago

@ptone did you manage to run the client?