<feed xmlns='http://www.w3.org/2005/Atom'>
<title>fastcgi-conduit/src, branch v0.1.0</title>
<subtitle>Conduit interface for the fastcgi crate</subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fastcgi-conduit/'/>
<entry>
<title>Add license (GNU GPLv3+)</title>
<updated>2020-07-04T14:09:52+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2020-07-04T14:09:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fastcgi-conduit/commit/?id=0bbb1cdb1978d0ff0b06a700016640f0642d95d5'/>
<id>0bbb1cdb1978d0ff0b06a700016640f0642d95d5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Server::start: Return a `Server` directly instead of a `Result`</title>
<updated>2020-07-04T13:50:24+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2020-07-04T13:46:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fastcgi-conduit/commit/?id=a95349de02343a89ba9b485861f57c17d39490e9'/>
<id>a95349de02343a89ba9b485861f57c17d39490e9</id>
<content type='text'>
We don't have any `Result`s to propagate in this function, so the
`Result` return wrapper is unnecessary.

Must have copied this signature from Civet without thinking:
https://github.com/conduit-rust/rust-civet/blob/ab9c52ca634f65439060c2248295d2ac354aead5/src/lib.rs#L214
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We don't have any `Result`s to propagate in this function, so the
`Result` return wrapper is unnecessary.

Must have copied this signature from Civet without thinking:
https://github.com/conduit-rust/rust-civet/blob/ab9c52ca634f65439060c2248295d2ac354aead5/src/lib.rs#L214
</pre>
</div>
</content>
</entry>
<entry>
<title>request::Error: Remove context from error variants</title>
<updated>2020-07-04T13:38:32+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2020-07-04T13:38:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fastcgi-conduit/commit/?id=9b8f7dcaa4c3c054d4e3e1edc7e0780167d2a59a'/>
<id>9b8f7dcaa4c3c054d4e3e1edc7e0780167d2a59a</id>
<content type='text'>
Since we don't need to add any additional context or messages here, we
can turn off error context for these variants and shorten error
propagation.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since we don't need to add any additional context or messages here, we
can turn off error context for these variants and shorten error
propagation.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add documentation</title>
<updated>2020-07-04T13:33:59+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2020-07-04T13:33:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fastcgi-conduit/commit/?id=5a207c6649a67871c209f8e1634efcbcc719bee6'/>
<id>5a207c6649a67871c209f8e1634efcbcc719bee6</id>
<content type='text'>
Write doc comments for functions and types, and include a short example.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Write doc comments for functions and types, and include a short example.
</pre>
</div>
</content>
</entry>
<entry>
<title>server::internal_server_error: Change `match` to `unwrap_or_else`</title>
<updated>2020-07-04T01:44:48+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2020-07-04T01:44:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fastcgi-conduit/commit/?id=d125b25f4245df3d0eb80aa726c2a7039945f3de'/>
<id>d125b25f4245df3d0eb80aa726c2a7039945f3de</id>
<content type='text'>
Reduce a few lines.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reduce a few lines.
</pre>
</div>
</content>
</entry>
<entry>
<title>server: Log errors</title>
<updated>2020-07-04T01:28:02+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2020-07-04T01:28:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fastcgi-conduit/commit/?id=ab8b50d5b98ab071c5f70d929f1ca76f3faf71ca'/>
<id>ab8b50d5b98ab071c5f70d929f1ca76f3faf71ca</id>
<content type='text'>
Provide a mechanism to get detailed error messages when 500 internal
server errors happen.

We don't want to expose any detailed error information to clients, but
it would be useful for administrators to know the cause of any errors.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Provide a mechanism to get detailed error messages when 500 internal
server errors happen.

We don't want to expose any detailed error information to clients, but
it would be useful for administrators to know the cause of any errors.
</pre>
</div>
</content>
</entry>
<entry>
<title>server::handle_request: Wrap lines</title>
<updated>2020-07-04T01:01:02+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2020-07-04T01:01:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fastcgi-conduit/commit/?id=4498c8fdf70b67bc65d2d44a32afa901f1594e51'/>
<id>4498c8fdf70b67bc65d2d44a32afa901f1594e51</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>server: Rename `Error::WriteError` to `Error::Write` and remove context</title>
<updated>2020-07-04T00:55:33+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2020-07-04T00:55:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fastcgi-conduit/commit/?id=3914b2189069783e6d538f2d742525284c8951c2'/>
<id>3914b2189069783e6d538f2d742525284c8951c2</id>
<content type='text'>
Since we don't actually need any additional context here, we can remove
it. Since that allows us to avoid calling `context()` with the
`WriteError` context selector, we can then safely rename `WriteError` to
`Write`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since we don't actually need any additional context here, we can remove
it. Since that allows us to avoid calling `context()` with the
`WriteError` context selector, we can then safely rename `WriteError` to
`Write`.
</pre>
</div>
</content>
</entry>
<entry>
<title>server: Rename `Error::Io` to `Error::WriteError`</title>
<updated>2020-07-04T00:46:01+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2020-07-04T00:46:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fastcgi-conduit/commit/?id=cdad0271c909c90e800a7e9dd95658b143475d15'/>
<id>cdad0271c909c90e800a7e9dd95658b143475d15</id>
<content type='text'>
Make this specifically about errors writing instead of a generic I/O
error.

Name the variant `WriteError` instead of `Write` because Snafu will
generate context selector structs with these names and we already have a
`Write` identifier imported.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make this specifically about errors writing instead of a generic I/O
error.

Name the variant `WriteError` instead of `Write` because Snafu will
generate context selector structs with these names and we already have a
`Write` identifier imported.
</pre>
</div>
</content>
</entry>
<entry>
<title>Server::start: Handle errors with a 500 response</title>
<updated>2020-07-04T00:29:07+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2020-07-04T00:29:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fastcgi-conduit/commit/?id=6360e9f37a0a65fbc65d9e923db9ef8f5b77ff83'/>
<id>6360e9f37a0a65fbc65d9e923db9ef8f5b77ff83</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
</feed>
