aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
authorTeddy Wing2020-07-04 02:29:07 +0200
committerTeddy Wing2020-07-04 02:29:07 +0200
commit6360e9f37a0a65fbc65d9e923db9ef8f5b77ff83 (patch)
treeb272fe170772fdf7631938bb854f23df434c34bd /src/lib.rs
parent0d5761aee5af893c90585d375e9bf2545b60d080 (diff)
downloadfastcgi-conduit-6360e9f37a0a65fbc65d9e923db9ef8f5b77ff83.tar.bz2
Server::start: Handle errors with a 500 response
If we get errors building the request or Conduit errors, respond with a 500 error. Otherwise, it's a write error, and we should do nothing (ideally log the error), because this means the client closed the connection or there are bigger problems.
Diffstat (limited to 'src/lib.rs')
0 files changed, 0 insertions, 0 deletions