Skip to content

Use a generic Timer to implement the timeouts and intervals #2848

@seanmonstar

Description

@seanmonstar

After adding a generic T: Timer, update the uses of tokio::time to use the generic timer instead.

  • HTTP/2 keep-alive interval
  • HTTP/2 keep-alive timeout
  • HTTP/1 read headers timeout

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-http1Area: HTTP/1 specific.A-http2Area: HTTP/2 specific.C-featureCategory: feature. This is adding a new feature.E-hardEffort: hard. Likely requires a deeper understanding of how hyper's internals work.

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions