aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorLudovic Courtès <ludovic.courtes@inria.fr>2018-03-28 22:41:12 +0200
committerLudovic Courtès <ludovic.courtes@inria.fr>2018-03-28 22:41:12 +0200
commit8bdde878c752a1518a2c4de991f466bd6cebe70b (patch)
treedec0696763a4bc1578685817ec74d2ffd8ef3d96 /bin
parente8543d7aa9db6fb513ac454876431b4c7fa4d9c7 (diff)
downloadcuirass-8bdde878c752a1518a2c4de991f466bd6cebe70b.tar
cuirass-8bdde878c752a1518a2c4de991f466bd6cebe70b.tar.gz
http: Process client connections really concurrently, again.
This reinstates c47dfdf82b4be62501a7932eaec4c124566a1829 and fixes the issues that led to the revert in b71f0cdca5aeb82e5eb24f54b32e3f09fee22bad. Before that, 'run-server' would force sequential processing of client requests one after another. * src/cuirass/http.scm (run-cuirass-server): Rewrite to use its own loop instead of 'run-server'. Spawn a database fiber. (with-database-access): New macro. (handle-build-request): Expect 'db-channel' and use 'with-database-access'. (handle-builds-request): Likewise. (url-handler): Likewise.
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions