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)
2017-12-09 12:21:34 +02:00
Oliver Giles
e371f8ca5a
server: use regular char array as buffer
...
This approach finally solves the crash under hardened gentoo
discussed in #19
2017-12-07 18:28:12 +02:00
Oliver Giles
4c63cef7ac
remove unnecessary attach()
2017-12-06 21:59:22 +02:00
Oliver Giles
272176a6a5
server: allocate a single buffer per file descriptor
2017-12-06 21:51:50 +02:00
Oliver Giles
b70e501d6d
attempt to solve segfault under hardened gentoo
...
Can't reproduce this locally, but looks like using a std::string
as an arbitrary buffer is causing problems. See #19
2017-12-06 09:24:35 +02:00
Oliver Giles
9c92c5b514
don't leak file descriptors into runs
2017-12-04 20:31:23 +02:00
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
2017-12-04 20:29:19 +02:00
Oliver Giles
576159d8e9
send correct Content-Type header for static resources
2017-10-31 20:07:12 +02:00
Oliver Giles
b7644494fc
unlink unix sockets before binding
2017-08-15 08:33:15 +03:00
Oliver Giles
c12fb3f030
remove unnecessary default parameter
2017-08-12 15:10:06 +03:00
Oliver Giles
eda906b805
refactor: remove transport knowledge from Laminar class
...
Improve the boundary between RpcImpl and LaminarInterface such
that the Laminar class doesn't require any types from kj/async.h.
The necessary logic moved from Laminar to RpcImpl and the notification
now happens by abstract virtual callback instead of kj::Promise.
Also remove the fairly useless 'wait' RPC call and drop the wrappers
around kj::PromiseFulfillerPair
2017-08-10 08:25:20 +03:00
Oliver Giles
ab99af7ca7
implement general-purpose locks
2017-08-10 07:40:30 +03:00
Oliver Giles
3068180f8e
give capnp ownership of process output fd
...
this fixes an intermittent issue (race condition?) where
the IoContext attempts to poll an already-closed fd
2017-07-31 08:53:50 +03:00
Oliver Giles
4e911756bc
update copyright year
2016-07-25 15:00:49 +03:00
Oliver Giles
2ea27d46ed
implement proper child cleanup
2016-07-25 14:59:45 +03:00
Oliver Giles
e7fe117426
don't log full file paths, remove use of KJ_DBG
2015-12-06 12:36:12 +01:00
Oliver Giles
16081adb30
add missing enum conversion
2015-11-01 11:30:18 +01:00
Oliver Giles
3ee5b4f8f6
better socket closing
2015-09-23 08:15:08 +02:00
Oliver Giles
f923762c7e
server cleanup, fix logic error in early promise resolution
2015-09-21 22:30:50 +02:00
Oliver Giles
a729a6782e
implement display and serving of archived artifacts
2015-09-19 17:24:20 +02:00
Oliver Giles
a2701dcfd9
Initial commit
2015-09-13 22:25:26 +02:00