uNetworkingAB

Results 290 comments of uNetworkingAB

I just get this when I try your branch: cmake . make [...] /usr/bin/ld: cannot find uSockets/*.o: No such file or directory collect2: error: ld returned 1 exit status make:...

It's not working ``` alexhultman@Windows11:~/cmakepr/uWebSockets$ mkdir build alexhultman@Windows11:~/cmakepr/uWebSockets$ cd build alexhultman@Windows11:~/cmakepr/uWebSockets/build$ cmake .. -- The C compiler identification is GNU 11.4.0 -- The CXX compiler identification is GNU 11.4.0 --...

You compile the examples by hitting "make".

Can you reproduce the issue with Valgrind? valgrind nodejs server.js

It looks fine but return getHttpResponseData()->proxyParser.getSourcePort(); needs to be within macros for the proxy support. Also why do you have a diff for getSourcePort?

We don't provide any timeout. That timeout comes from the OS. You control the timeout in your OS, or use us_socket_timeout on the connecting socket.

You don't need to wait. us_socket_context_connect returns a us_socket_t and you can start a timeout directly when it returns. The only thing that can take time inside us_socket_context_connect is if...

us_socket_context_connect calls some hostname resolving syscall that hangs until done. So you cannot abort it. Just make sure whatever you pass us_socket_context_connect actually resolves to something and it should return...