Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2016-09-14 | Add initial request parsing + request objectHEADmaster | Yorhel | 5 | -28/+264 | |
2016-09-08 | Add IoStream abstraction + max read buf size + revamp IO & timer registration | Yorhel | 5 | -137/+252 | |
2016-09-08 | eventloop: Signal Machine removal through return values | Yorhel | 3 | -54/+61 | |
The Machine handler should not really do anything after it has decided it wants to be destroyed, so it seems better to enforce this by having the handler return this action. | |||||
2016-09-07 | eventloop: Make spawn() accept a closure that creates a Machine | Yorhel | 3 | -36/+29 | |
This provides two advantages: Machines don't have to be Send/Sync anymore (but can still be spawned on different threads), and the init() and new() methods are now merged, allowing the Machine to access its context on initialization. I guess Rotor had a point here after all. :) | |||||
2016-09-07 | Add max-connections (global+interface) and io-timeout (interface) config options | Yorhel | 4 | -29/+134 | |
TODO: Add a global io-timeout that is inherited by interfaces that don't set it? Or is that needless complexity? I've added Sync bounds to Machines and implemented all this using Arc/Mutex in order for Machines to be runnable on multiple threads later on. | |||||
2016-09-06 | Add accept() backoff timer + tcp idle timer + minor eventloop API improvements | Yorhel | 3 | -44/+176 | |
2016-09-05 | Add some buffer handling + improve error handling a bit | Yorhel | 6 | -12/+163 | |
2016-09-04 | Add generic event loop + bind+listen handling code | Yorhel | 6 | -6/+321 | |
2016-09-02 | Config parsing progress | Yorhel | 2 | -58/+108 | |
2016-09-02 | Initial commit. Mostly learning Rust | Yorhel | 5 | -0/+340 | |