Skip to content

webtransport: use the resource manager to control flow control window increases #1826

@marten-seemann

Description

@marten-seemann

Moving from marten-seemann/go-libp2p-webtransport#8.


We should use the resource manager to control flow control window increases (similar to

func (c *conn) allowWindowIncrease(size uint64) bool {
return c.scope.ReserveMemory(int(size), network.ReservationPriorityMedium) == nil
}
).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions