1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-28 10:29:03 +00:00
Commit Graph

6 Commits

Author SHA1 Message Date
henri
457e9dcf62 Added extra cancelation tests.
Schedule and immediately cancel TCP, UDP and SSL connects.
These tests are now grouped in a "cancel" module.
2013-10-23 19:04:10 +00:00
henri
853aaff586 Manage expiration times via a heap queue.
This prevents nsock from iterating over the whole list of events at
each runloop, thus improving performance.

It made it necessary to have pointers from the msevents to the event
lists they belong to. The patch therefore also changes gh_list from
autonomous containers to embedded structures.

Added unit tests accordingly and cosmetic changes to make things look
more consistent.
2013-08-10 23:59:30 +00:00
henri
8b7f91cd0f Moved gh_lists tests from nsock/src/ to nsock/tests/ 2013-05-22 14:35:24 +00:00
henri
3776852557 Added simple TCP connect test and setup ncat listeners.
The listeners are ncat-based echo servers:
  - UDP
  - TCP
  - TCP + SSL
2013-05-10 08:26:48 +00:00
henri
4862bbcbb9 Added a nsock test module for loglevels. 2013-05-08 18:08:38 +00:00
henri
b51a943a48 Added a minimal regression test suite for nsock. 2013-05-08 11:52:28 +00:00