cosmopolitan/test/libc/dns
Justine Tunney 49b0eaa69f
Improve threading and i/o routines
- On Windows connect() can now be interrupted by a signal; connect() w/
  O_NONBLOCK will now raise EINPROGRESS; and connect() with SO_SNDTIMEO
  will raise ETIMEDOUT after the interval has elapsed.

- We now get the AcceptEx(), ConnectEx(), and TransmitFile() functions
  from the WIN32 API the officially blessed way, using WSAIoctl().

- Do nothing on Windows when fsync() is called on a directory handle.
  This was raising EACCES earlier becaues GENERIC_WRITE is required on
  the handle. It's possible to FlushFileBuffers() a directory handle if
  it's opened with write access but MSDN doesn't document what it does.
  If you have any idea, please let us know!

- Prefer manual reset event objects for read() and write() on Windows.

- Do some code cleanup on our dlmalloc customizations.

- Fix errno type error in Windows blocking routines.

- Make the futex polyfill simpler and faster.
2023-10-12 23:13:04 -07:00
..
comparednsnames_test.c Unbloat the build 2022-08-11 00:15:29 -07:00
dnsheader_test.c Rename rand64() to _rand64() 2022-10-10 04:12:06 -07:00
dnsquestion_test.c Make minor improvements 2021-05-15 21:53:26 -07:00
parsehoststxt_test.c Fix warnings 2023-09-01 20:50:18 -07:00
parseresolvconf_test.c Fix warnings 2023-09-01 20:50:18 -07:00
pascalifydnsname_test.c Make minor improvements 2021-05-15 21:53:26 -07:00
prototxt_test.c Make improvements 2023-09-18 21:04:47 -07:00
resolvehostsreverse_test.c Unbloat the build 2022-08-11 00:15:29 -07:00
resolvehoststxt_test.c Fix warnings 2023-09-01 20:50:18 -07:00
servicestxt_test.c Improve threading and i/o routines 2023-10-12 23:13:04 -07:00
test.mk Clean up more code 2023-06-18 01:00:05 -07:00