neat icon indicating copy to clipboard operation
neat copied to clipboard

Timeouts still occur, causing slow connects with RUN_NOWAIT

Open bagder opened this issue 8 years ago • 3 comments

As mentioned in https://github.com/NEAT-project/neat/pull/147#issuecomment-252902539: if we build and run the client_http_run_once example, it will always trigger (what seems to be) a 1000 milliseconds timeout for the connect operation. Even though everything else is working fine.

bagder avatar Nov 28 '16 09:11 bagder

If a timeout is necessary for driving neat, the neat_get_backend_timeout() really ought to return a correct (very short) value instead of 1000 milliseconds.

bagder avatar Jan 16 '17 10:01 bagder

@bagder I am not sure what you are referring to. As far as I can tell, the timeout doesn't drive client_http_run_once. Instead, it seems to be driven by events on the file descriptors of the respective libuv event loop.

karlgrin avatar Dec 19 '17 16:12 karlgrin

@bagder Did some further test runs, and running "./client_http_run_once -n 200 bsd10.fh-muenster.de" took less than 900 ms. I am not in a position to say whether on not that is fast or slow.

karlgrin avatar Dec 22 '17 13:12 karlgrin