wswrapper: add dup2, fix select w/ NULL timeout.
- add dup2 functionality. This requires adding a ref cnt to the _WS_connections structure so that we only free the structure once all dup'd referenced are closed. Also, refactor malloc and free of connection structure into _WS_alloc and _WS_free. - allow select to accept a NULL timeout value which means sleep forever instead of segfaulting. - fix some compile warnings related to ppoll definition. - move some WebSockets related html test pages into utils and symlink them from tests.
Showing
tests/wsecho.html
deleted
100644 → 0
tests/wsecho.html
0 → 120000
tests/wstest.html
deleted
100644 → 0
tests/wstest.html
0 → 120000
utils/wsecho.html
0 → 100644
utils/wstest.html
0 → 100644
Please
register
or
sign in
to comment