better function name in SentPacketHandler

This commit is contained in:
Marten Seemann
2016-05-24 15:39:48 +07:00
parent 9539169fa4
commit 931687e9a4
5 changed files with 8 additions and 8 deletions

View File

@@ -274,7 +274,7 @@ func (h *sentPacketHandler) GetLargestObserved() protocol.PacketNumber {
return h.LargestObserved
}
func (h *sentPacketHandler) AllowsSending() bool {
func (h *sentPacketHandler) CongestionAllowsSending() bool {
return h.BytesInFlight() <= h.congestion.GetCongestionWindow()
}