Skip to content

Expose HTTP/2 ping #4230

Description

@AndrewBarba

This would solve...

Some http2 servers expect to receive PING frame during long periods of inactivity. For example, Apple's APNS service requires sending a PING in order to keep a connection alive. Note: keep alive is not enough.

The implementation should look like...

Both Pool and Client should expose a ping() method which calls the underlying Http2Session.ping() method.

Real-world issue

AndrewBarba/apns2#97

Real-world work around

AndrewBarba/apns2#98

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions