aboutsummaryrefslogtreecommitdiff
path: root/tests/tls.c
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2018-01-03 10:26:11 -0800
committerGarrett D'Amore <garrett@damore.org>2018-01-03 10:26:11 -0800
commit303f84fbbfc4ee04b9f62e12bb2c1106834a2371 (patch)
treee9161c05125372bf01cfa2927c3b57561caf800f /tests/tls.c
parenta14e5369efe66f4955e1378087d889b59448cde1 (diff)
downloadnng-303f84fbbfc4ee04b9f62e12bb2c1106834a2371.tar.gz
nng-303f84fbbfc4ee04b9f62e12bb2c1106834a2371.tar.bz2
nng-303f84fbbfc4ee04b9f62e12bb2c1106834a2371.zip
Fix websocket hang after sending one message.
This fixes a problem where the websocket would only send one message, then no others, due to not clearing the "frame" busy flag on completion of the frame transmit. We have also added a test that tries to send 10 messages back and forth to make sure that we catch this kind of problem in the future. Finally we've fixed some problems that were found when testing edge cases around the protocol, which were responsible for invalid memory accesses.
Diffstat (limited to 'tests/tls.c')
0 files changed, 0 insertions, 0 deletions