Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Do not try to remove a connection the slab twice #2

Merged
merged 1 commit into from
Aug 22, 2015
Merged

Conversation

hjr3
Copy link
Owner

@hjr3 hjr3 commented Aug 22, 2015

A single event loop tick may contain multiple events for a token. If the
connection is reset on the first event, subsequent events will still try
to access that token/connection during the event loop tick. The strategy
now is to mark a connection as reset and remove them only when the event
loop tick is finished.

See tokio-rs/mio#219 for more details.

Fixes #1

A single event loop tick may contain multiple events for a token. If the
connection is reset on the first event, subsequent events will still try
to access that token/connection during the event loop tick. The strategy
now is to mark a connection as reset and remove them only when the event
loop tick is finished.

See tokio-rs/mio#219 for more details.

Fixes #1
hjr3 added a commit that referenced this pull request Aug 22, 2015
Do not try to remove a connection the slab twice
@hjr3 hjr3 merged commit c2d411b into master Aug 22, 2015
@hjr3 hjr3 deleted the slab-free-bug branch August 22, 2015 00:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant