Skip to content

Project (httpserver-async-objects): Event loop seems stuck on a certain state #1

Open
@Oceanbao

Description

@Oceanbao

Hey Thomas, first and foremost, tremendous appreciation for all your tutorials on Rust; I have found them most valuable resources to not only learning Rust but also backend programming in general.

I wonder if you could help debug this "event-loop" stuck issue that I found running the "httpserver-async-objects" project.

It seems the event loop is stuck on waiting for "new event to be pushed onto the tasks queue (?)" at one certain state - because it will continue if a new request comes in and sort of "advances" the loop.

Here's the state where it's stuck on by running one single request:

Screen Shot 2022-09-20 at 2 37 25 PM

At this point, if another request comes in, the loop will continue, but it will again stuck on the same step.

Screen Shot 2022-09-20 at 2 45 48 PM

I hope the above is clear and I appreciate your help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions