# std.http: remove 'done' flag · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/50e2a5f673d880515caf3497bfb6eb0114149de1)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 50e2a5f673d880515caf3497bfb6eb0114149de1

Requested commit: 50e2a5f673d880515caf3497bfb6eb0114149de1

Commit: 50e2a5f673d880515caf3497bfb6eb0114149de1

Tree: 81e3aa0e6078f86f4669c3f2189dd54431938da2

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std.http: remove 'done' flag

This is a state machine that already has a `state` field. No need to
additionally store "done" - it just makes things unnecessarily
complicated and buggy.

```

## Parents

- [06d0c58305a04d28da9a2caf510fc906e38a54ef](https://git.cafe/gitcafe/zig/commit/06d0c58305a04d28da9a2caf510fc906e38a54ef?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/50e2a5f673d880515caf3497bfb6eb0114149de1?format=markdown)
