dustin / go-coap

Implementation of CoAP in go.
MIT License
341 stars 103 forks source link

Ridiculously low, hard-coded response timeout #51

Closed curio77 closed 6 years ago

curio77 commented 6 years ago

Receive() in client.go uses a hard-coded response timeout of 2 seconds. This needs to be either way higher or, better yet, user-specifyable. Dealing with, e.g., wireless sensor networks doing time-slotted channel hopping (TSCH protocol), responses don't come in that quickly.

curio77 commented 6 years ago

Sorry, this is effectively a duplicate report of #43, even if for different reasons.