1** What version of lws ** 2 3"vx.y.z" or "01234567 from `main` thismorning" etc 4 5If it's much older than last stable release, we will likely suggest you try that 6or `main`. 7 8** What platform and arch? ** 9 10"Fedora 32 x86_64" or "OSX Catalina" etc 11 12** What parts of lws does it involve? ** 13 14dunno / core / client / server 15raw / http / ws / mqtt / other (give me a hint) 16 17** How can I reproduce the problem just using lws code? ** 18 19We can't guess your problem especially in your code. It's great if you can give us a way to 20realize our own failure clearly with a reproducer that uses our own code. 21 22Try to remove your code from the equation by trying the same flow on an lws minimal example and provide a little diff against that. We can find out if it's only on your platform, or only on that version, or only in your code from that quickly, and if something to fix in lws, I can confirm it really is fixed using the same test. 23 24** Describe the bug ** 25 26 "fails" --> this word is a red flag you didn't try to debug the issue much... exactly how does it "fail", what evidence is it leaving like logs or return codes or traces? 27 "hangs" --> this word is a red flag you didn't try to debug the issue much... exactly what does it mean, whole device frozen? Spinning 100% cpu? Just idle? Building on fire? Have you tried it via strace or similar if it seems frozen to see what it's doing? Attach a debugger like gdb -p pid and get a backtrace? perf top if Linux to see what it spends its time on. 28 "crashes" --> what happens if you run under valgrind? You know lws is not threadsafe except for lws_cancel_service(), right... 29 "sucks" --> let's discuss you writing a patch to improve whatever it is 30 31** Additional data ** 32 33Build problems? Describe the toolchain and paste the warnings / errors. 34 35Crash? Get a usable backtrace by building with `cmake .. -DCMAKE_BUILD_TYPE=DEBUG` and run under gdb, lldb, or valgrind. 36 37Mysterious happenings? Get verbose lws logs by building with `cmake .. -DCMAKE_BUILD_TYPE=DEBUG` and run with `lws_set_log_level(1151, NULL)`, on the example apps they all take a switch like -d1151. 38 39