Refactor QuicSpdySession::SendMaxPushId().

Lift the if(max_push_id_.has_value()) conditional from SendMaxPushId() to
SendInitialData().  (It is always true when SendMaxPushId() is called from
SetMaxPushId()).  This makes the name SendMaxPushId() accurate (otherwise it
should be called MaybeSendMaxPushId()).

Also, make SendMaxPushId() private.

No behavioral change.

PiperOrigin-RevId: 314776010
Change-Id: I838c64b098d802122add77c0807c385b989dc474
2 files changed
tree: db44396335c0f1996503be98fb62a24aba05bd17
  1. common/
  2. epoll_server/
  3. http2/
  4. quic/
  5. spdy/
  6. CONTRIBUTING.md
  7. LICENSE
  8. README.md
README.md

QUICHE

QUICHE (QUIC, Http/2, Etc) is Google‘s implementation of QUIC and related protocols. It powers Chromium as well as Google’s QUIC servers and some other projects.