Norman Maurer
|
2706d48c6c
|
Add the notion of Channel.read() which allows to influence if we should read or stop reading
|
2017-05-09 09:55:24 +02:00 |
|
Norman Maurer
|
9bad11c5f5
|
Add EventLoop.inEventLoop
|
2017-05-08 15:32:25 +02:00 |
|
Norman Maurer
|
16adbe4a58
|
Fail pending writes when channel is closed
|
2017-05-08 15:28:37 +02:00 |
|
Norman Maurer
|
e29b755de8
|
Introduce RecvBufferAllocator
|
2017-05-08 12:15:38 +02:00 |
|
Norman Maurer
|
17c970d013
|
Add EventLoop.execute and schedule
|
2017-05-08 08:21:45 +02:00 |
|
Norman Maurer
|
711cf8a2bb
|
Add BufferAllocator
|
2017-05-08 07:16:30 +02:00 |
|
Norman Maurer
|
16559385fc
|
Add EventLoop
|
2017-05-03 10:56:52 -07:00 |
|
Norman Maurer
|
c1e1301f1b
|
Just declare fields as let in IOError
|
2017-05-03 08:36:16 -07:00 |
|
Norman Maurer
|
1f5952379f
|
simplify ifdef usages when possible
|
2017-05-01 13:40:10 -07:00 |
|
Norman Maurer
|
bf2d821529
|
Remove unused code
|
2017-05-01 13:26:04 -07:00 |
|
Norman Maurer
|
480d29ddc8
|
Let ChannelHandler throw errors for inbound operations
|
2017-04-30 20:10:11 +02:00 |
|
Norman Maurer
|
cbb414edff
|
Allow to handle user events
|
2017-04-30 19:52:41 +02:00 |
|
Norman Maurer
|
5bee1c7bcd
|
Correctly implement TailHandler and ensure we also forward close operations
|
2017-04-30 18:26:44 +02:00 |
|
Norman Maurer
|
0981cfd9b6
|
Add futures / promises
|
2017-04-30 18:00:41 +02:00 |
|
Norman Maurer
|
83558362ae
|
Keep track of pending flushes
|
2017-04-30 16:12:35 +02:00 |
|
Norman Maurer
|
a8b722b97e
|
Add very basic netty like abstraction on top of the socket / selector implementation
|
2017-04-30 15:04:14 +02:00 |
|
Norman Maurer
|
269d279f8c
|
Correctly put initialization code in ifdefs so it compiles on macOS and Linux
|
2017-04-28 17:57:06 +02:00 |
|
Norman Maurer
|
2b92e3760d
|
Correctly handle EINTR for write(...), read(...) and accept()
|
2017-04-28 17:43:08 +02:00 |
|
Norman Maurer
|
65e2f38400
|
Use optionals to signale EWOULDBLOCK
|
2017-04-28 17:29:20 +02:00 |
|
Johannes Weiß
|
adbb91037a
|
make socket binding generic (reduce repetition)
|
2017-04-28 15:06:10 +01:00 |
|
Johannes Weiß
|
93c1aa9864
|
remove memcpy uses
|
2017-04-28 15:47:49 +01:00 |
|
Johannes Weiß
|
a9c66f2a3b
|
rebind memory correctly
|
2017-04-28 15:47:29 +01:00 |
|
Johannes Weiß
|
b61479939b
|
initialise memory correctly
|
2017-04-28 15:47:07 +01:00 |
|
Johannes Weiß
|
2a28806f16
|
size vs stride fix
|
2017-04-28 15:46:52 +01:00 |
|
Johannes Weiß
|
c223889cd5
|
improve sockaddr_* memory handling
|
2017-04-28 15:01:11 +01:00 |
|
Norman Maurer
|
5adeb9223e
|
Remove enclosing do {...} catch {...} block
|
2017-04-28 15:58:39 +02:00 |
|
Norman Maurer
|
1b9e9ff5fc
|
Add some missing guard and correctly deallocate memory for the Selector
|
2017-04-28 15:12:40 +02:00 |
|
Norman Maurer
|
ffb10a59cf
|
Cleanup
|
2017-04-28 14:57:57 +02:00 |
|
Norman Maurer
|
3048360f19
|
Correctly respect capacity
|
2017-04-28 14:26:46 +02:00 |
|
Norman Maurer
|
8fc17e3419
|
Use default parameter values and add some overloads
|
2017-04-28 14:20:21 +02:00 |
|
Norman Maurer
|
03ade9379b
|
Allow to use on macOS as well
|
2017-04-28 14:10:05 +02:00 |
|
Norman Maurer
|
78661871b2
|
Share code
|
2017-04-28 08:32:12 +02:00 |
|
Norman Maurer
|
bb2963ac03
|
Allow to set socket opts
|
2017-04-28 07:29:00 +02:00 |
|
Norman Maurer
|
01fe5f2f98
|
Add support for set and get socketoptions
|
2017-04-27 20:55:04 +02:00 |
|
Norman Maurer
|
fa55e1d959
|
Swift-y-fy the api
|
2017-04-27 20:28:09 +02:00 |
|
Norman Maurer
|
fb50d0fca9
|
Some cleanup and using Data
|
2017-04-27 16:06:21 +02:00 |
|
Norman Maurer
|
5d4158d30b
|
Allow to easier handle non blocking syscalls
|
2017-04-27 15:37:06 +02:00 |
|
Norman Maurer
|
1aa8e5ad02
|
Make accept fully non-blocking as well
|
2017-04-27 14:59:48 +02:00 |
|
Norman Maurer
|
eafd27bbc5
|
lay the groundwork
|
2017-04-26 20:41:33 +02:00 |
|
Tim Kientzle
|
22dba05388
|
add Futures library
|
2017-04-20 13:13:14 +01:00 |
|