# std.Io.net: don't swallow 'error.Canceled' · gitcafe/zig

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

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

Visibility: public

Requested revision: 3bb2f7b84ed8b1ee09b6077f66e28ab7291a7bd4

Requested commit: 3bb2f7b84ed8b1ee09b6077f66e28ab7291a7bd4

Commit: 3bb2f7b84ed8b1ee09b6077f66e28ab7291a7bd4

Tree: 3b9f2500ab2e3c027eec8e87f62dd3d610bdf6d8

Author: Matthew Lugg

Committer: Matthew Lugg

## Message

```
std.Io.net: don't swallow 'error.Canceled'

This was missed when updating to the new group cancelation API, and
caused illegal behavior in many cases (the condition was simply that a
DNS query returned a second result before a connection was successfully
established).

```

## Parents

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

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