Oliver Giles
649caee297
resolves #30 : job execution timeout
...
Add the ability to configure a timeout in seconds
after which a job run will be automatically aborted
6 years ago
Oliver Giles
216ecee7c5
resolves #34 : watch for configuration changes
...
Reload the configuration if a change is detected
without requiring a server restart
6 years ago
Oliver Giles
9c256815e4
resolves #29 : graceful shutdown
...
on SIGINT/SIGTERM:
1. stop accepting new connections
2. send SIGTERM to all child tasks
3. wait for processes to end
4. drop all websockets
6 years ago
Oliver Giles
3b267967cf
resolves #31 : exception thrown on bad file descriptor
...
Read or writes to bad file descriptors threw exceptions, just log
this instead. Also make sure that LaminarClients are removed from
the list of clients when a connection is aggressively dropped, and
add test
6 years ago
Oliver Giles
3129f0e73b
fix pedantic compiler warnings
7 years ago
Oliver Giles
bb9486e066
use compliant include guards
7 years ago
Oliver Giles
74443c292a
Fix copyright years
...
This reverts commit 4e911756bc
.
In addition, copyright years are now expressed in the form of
(year file added)-(year file last changed)
7 years ago
Oliver Giles
e371f8ca5a
server: use regular char array as buffer
...
This approach finally solves the crash under hardened gentoo
discussed in #19
7 years ago
Oliver Giles
272176a6a5
server: allocate a single buffer per file descriptor
7 years ago
Oliver Giles
d91816097a
resolves #19 : laminard crashes under load
...
reading into a static buffer is a race condition that is only
manifested under load. There's no guarantee the clause in then()
will run before another task overwrites the buffer. Allocating
a local string is the only correct solution
7 years ago
Oliver Giles
4e911756bc
update copyright year
8 years ago
Oliver Giles
2ea27d46ed
implement proper child cleanup
8 years ago
Oliver Giles
79c3ee5fcb
fix spelling mistake
9 years ago
Oliver Giles
a2701dcfd9
Initial commit
9 years ago