Commit graph

391 commits

Author SHA1 Message Date
Sönke Ludwig 578065f70a Fix exit conditions in the WinAPI event loop. 2017-02-22 17:34:44 +01:00
Sönke Ludwig f84139ba63 Fix infinite look when stopping timers with multiple others pending. 2017-02-22 17:33:03 +01:00
Sönke Ludwig c242fdae16
Test with LDC 1.1.0 final and add compiler support list to README. 2017-02-01 12:15:58 +01:00
Sönke Ludwig 49521f2586
Remove debug output. 2017-01-31 10:06:51 +01:00
Sönke Ludwig 4b357c3326
Make sure the socket ref count can reach zero in user code. 2017-01-30 23:11:09 +01:00
Sönke Ludwig 490dc15128
Properly handle the case where a TCP connection gets immediately disconnected.
This can result in both, the write-ready and the disconnect events, to be triggered during the same event loop iteration.
2017-01-30 22:52:13 +01:00
Sönke Ludwig 773e09cd3d
Fix (immediate) detection of remove connection close for EPOLL. 2017-01-30 21:01:31 +01:00
Sönke Ludwig 5a5dcd6376
Remove debug output. 2017-01-30 20:11:40 +01:00
Sönke Ludwig 6851776358
Add EventDriverTimers.isUnique. 2017-01-30 19:54:38 +01:00
Sönke Ludwig 956978cc79
Fix out of order processing issue with the TCP connection callback.
It could happen that the socket FD got reused before the connection callback was cleared. This in turn could result in the new connection callback to get overwritten with null.
2017-01-30 10:54:43 +01:00
Sönke Ludwig 4703f021ec
Fix setting initial state for incoming TCP connections. 2017-01-29 21:00:27 +01:00
Sönke Ludwig 3d81854214
Add StreamListenOptions.
Can be used to set the SO_REUSEPORT option for multi-thread/multi-process incoming TCP connection distribution.
2017-01-27 22:09:05 +01:00
Sönke Ludwig 3a5142baf0 Update development status. 2017-01-25 16:14:42 +01:00
Sönke Ludwig 4e830a408f Split up WinAPI driver into separate files. 2017-01-25 16:14:06 +01:00
Sönke Ludwig 9465eae359 Let the USDS test clean up after itself. 2017-01-25 12:58:16 +01:00
Sönke Ludwig 87394165de Only bind outgoing stream sockets explicitly if requested. 2017-01-25 12:57:02 +01:00
Sönke Ludwig ea60f55a8d
Fix another compile error. 2017-01-25 12:35:42 +01:00
Sönke Ludwig b52747247b
Fix Linux compilation. 2017-01-25 12:33:00 +01:00
Sönke Ludwig d1829669ec Split up Posix event driver into separate files. 2017-01-25 00:11:57 +01:00
Sönke Ludwig 2174b7d535 Fixup. 2017-01-23 22:56:20 +01:00
Sönke Ludwig 0b012e7ec7 Remove duplicate declaration. 2017-01-23 22:31:23 +01:00
Sönke Ludwig d3e8005662 Fix Win64 compilation. 2017-01-23 22:24:27 +01:00
Sönke Ludwig 4f94cd107e Adjust USDS test for macOS behavior. 2017-01-23 22:18:46 +01:00
Sönke Ludwig 356a34fad2 Implement simple (synchronous) DNS lookup for the WinAPI driver. 2017-01-23 21:37:35 +01:00
Sönke Ludwig e8a0968ded Adjust UDP test for macOS loopback behavior. 2017-01-23 19:34:42 +01:00
Sönke Ludwig 86ff9ea0d0 Fix macOS compile error in signal test. 2017-01-23 15:37:47 +01:00
Sönke Ludwig 607bd1df09 Try executing DNS resolve tasks in a new thread to work around macOS hang. 2017-01-23 15:07:47 +01:00
Sönke Ludwig e72b071057 Add debug output for the getaddrinfo based DNS lookup driver. 2017-01-23 12:17:53 +01:00
Sönke Ludwig e55e23368a Fix compile error on macOS. 2017-01-23 11:52:09 +01:00
Sönke Ludwig d6321a2b52
Fix waiter count bookkeeping in PosixEventDriverEvents. 2017-01-23 11:34:14 +01:00
Sönke Ludwig e5078ad399
Fix ConsumableQueue.consume with no entries present. 2017-01-23 11:33:45 +01:00
Sönke Ludwig 0422ee495c
Fix null pointer error. 2017-01-23 11:15:03 +01:00
Sönke Ludwig 72280338ef
Fix compile error in http server example. 2017-01-23 11:03:36 +01:00
Sönke Ludwig a8aa505373
Fix Linux build. 2017-01-23 10:38:09 +01:00
Sönke Ludwig 2eaaac0163 Always build x64 with LDC/Windows. 2017-01-23 10:13:08 +01:00
Sönke Ludwig b556849af2 Fully fix the Win64 build (test might still fail). 2017-01-23 10:03:36 +01:00
Sönke Ludwig 2c4534d178 Fix Win64 build. 2017-01-23 09:09:30 +01:00
Sönke Ludwig 5d3bc7e235 Use per-configuration build matrix for AppVeyor. 2017-01-23 09:08:24 +01:00
Sönke Ludwig 52e40ea158 Add DUB and AppVeyor badges. 2017-01-23 09:06:28 +01:00
Sönke Ludwig 0440d8b0ea Add AppVeyor (Windows) test configuration. 2017-01-23 09:01:17 +01:00
Sönke Ludwig 818671f50c
Exclude more test combinations. 2017-01-22 22:25:27 +01:00
Sönke Ludwig bdba2c3fca Fix DNS test issue on macOS. 2017-01-22 22:23:58 +01:00
Sönke Ludwig c836109f41
Exclude compilers that don't come with kqueue headers on macOS. 2017-01-22 21:56:22 +01:00
Sönke Ludwig 217a6698cb Fix type conversion error. 2017-01-22 21:55:51 +01:00
Sönke Ludwig b8b993be90
Run tests with the actually selected configurations and fix the tested OS/config combinations. 2017-01-22 21:41:09 +01:00
Sönke Ludwig 619948c4d5 Another fix attempt for the special read 0 behavior. 2017-01-22 21:29:12 +01:00
Sönke Ludwig bd860d71d7 Fix syntax errors in tests. 2017-01-22 21:03:38 +01:00
Sönke Ludwig 3c7e1a783d Fix some errors in README. 2017-01-22 21:01:13 +01:00
Sönke Ludwig 25ab88a404 Update README with kqueue features. 2017-01-22 20:55:16 +01:00
Sönke Ludwig 8bf742d3cc Skip tests for missing features on macOS. 2017-01-22 20:54:56 +01:00