christoth
christoth
I need "--cap-add=SYS_PTRACE --security-opt seccomp=unconfined" to enable gdb C++ debugging
Thanks for pointing me in the right direction. Is there a way to tell when the request data is finished? e.g. zero length data I'm currently reading the content-length header,...
I'll test on linux. It was working earlier with read() on linux when the payload was small and I just res->end(data) as above (without multiple calls to read()). But it...
Using onData works with single requests. When I test with concurrent requests it times-out, but it doesn't crash now, which is great and it will respond to single requests after...
I'm cloning both uWebSockets and uSockets repos into a Docker container (using the gcc:latest image) Library versions: root@a1572b50f18e:/code/uWebSockets/examples# ldconfig -p|grep ssl libssl.so.1.1 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libssl.so.1.1 libssl.so.1.0.2 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libssl.so.1.0.2 libssl.so...
Sorry, my bad - [Gist](https://gist.github.com/christoth/574736b60394f41a379d257dda5a2fe8)
Good point, I was assuming that the post lambda would last longer than the onData lambda. I'll create a pointer and clean it up after res->end() and report back. Thanks!
Ok. As you can tell I'm new to lambda coding...thanks for the guidance.
If I understand correctly, the post() lambda might go away before the onData() lambda is finished using any reference captured variables. I need to concatenate the data from ALL the...
I am also experiencing this problem with VSCode 0.10.6 & Electron 0.36.4 on Win7 x64.