BlueBrain / Rockets

REST and websockets C++ library
GNU Lesser General Public License v3.0
38 stars 8 forks source link

Bugfix: writable callback occuring without a connection #32

Closed rdumusc closed 6 years ago

rdumusc commented 6 years ago

This check had been removed in commit ca16bef, but it was needed. Observed as a crash behind bbp proxy (lws 2.3).

Debugging trace: -- wsi -- -- action -- 0x1055b20 OPEN 0x1055b20 WRITE 0x1055b20 WRITE 0x1055b20 CLOSE 0x1055b20 WRITE_WITHOUT_CONNECTION

Couldn't reproduce on local workstation.