http2 window size setting
draft-chen-httpbis-window-size-00

Document Type Active Internet-Draft (individual)
Authors chenmeiling  , Li Su 
Last updated 2020-12-13
Stream (None)
Intended RFC status (None)
Formats plain text xml pdf htmlized (tools) htmlized bibtex
Stream Stream state (No stream defined)
Consensus Boilerplate Unknown
RFC Editor Note (None)
IESG IESG state I-D Exists
Telechat date
Responsible AD (None)
Send notices to (None)
httpbis                                                          M. Chen
Internet-Draft                                                    Li. Su
Intended status: Standards Track                            China Mobile
Expires: June 17, 2021                                 December 14, 2020

                       http2 window size setting
                   draft-chen-httpbis-window-size-00

Abstract

   This document proposed the minimum value setting mechanism of HTTP2.0
   Window and Window_update, and a Window_update frame sending
   mechanism.

Status of This Memo

   This Internet-Draft is submitted in full conformance with the
   provisions of BCP 78 and BCP 79.

   Internet-Drafts are working documents of the Internet Engineering
   Task Force (IETF).  Note that other groups may also distribute
   working documents as Internet-Drafts.  The list of current Internet-
   Drafts is at https://datatracker.ietf.org/drafts/current/.

   Internet-Drafts are draft documents valid for a maximum of six months
   and may be updated, replaced, or obsoleted by other documents at any
   time.  It is inappropriate to use Internet-Drafts as reference
   material or to cite them other than as "work in progress."

   This Internet-Draft will expire on June 17, 2021.

Copyright Notice

   Copyright (c) 2020 IETF Trust and the persons identified as the
   document authors.  All rights reserved.

   This document is subject to BCP 78 and the IETF Trust's Legal
   Provisions Relating to IETF Documents
   (https://trustee.ietf.org/license-info) in effect on the date of
   publication of this document.  Please review these documents
   carefully, as they describe your rights and restrictions with respect
   to this document.  Code Components extracted from this document must
   include Simplified BSD License text as described in Section 4.e of
   the Trust Legal Provisions and are provided without warranty as
   described in the Simplified BSD License.

Chen & Su                 Expires June 17, 2021                 [Page 1]
Internet-Draft              http2 window size              December 2020

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   2
   2.  Terminology . . . . . . . . . . . . . . . . . . . . . . . . .   3
   3.  Setting minimum window size . . . . . . . . . . . . . . . . .   3
     3.1.  Setting new parameter . . . . . . . . . . . . . . . . . .   3
     3.2.  new parameter setup process . . . . . . . . . . . . . . .   3
   4.  Setting minimum window update size  . . . . . . . . . . . . .   4
     4.1.  Setting new parameter . . . . . . . . . . . . . . . . . .   5
     4.2.  new parameter setup process . . . . . . . . . . . . . . .   5
   5.  Security Considerations . . . . . . . . . . . . . . . . . . .   6
   6.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .   6
   7.  Acknowledgement . . . . . . . . . . . . . . . . . . . . . . .   6
   8.  Informative References  . . . . . . . . . . . . . . . . . . .   6
   Authors' Addresses  . . . . . . . . . . . . . . . . . . . . . . .   6

1.  Introduction

   The following content is from RFC 7540[RFC7540]

   Both endpoints can adjust the initial window size for new streams by
   including a value for SETTINGS_INITIAL_WINDOW_SIZE in the SETTINGS
   frame that forms part of the connection preface.  The connection
   flow-control window can only be changed using WINDOW_UPDATE frames.

   SETTINGS_INITIAL_WINDOW_SIZE (0x4): Indicates the sender's initial
   window size (in octets) for stream-level flow control.  The initial
   value is 2^16-1 (65,535) octets.  Only DATA frames are subject to
   flow control.

   HTTP/2 defines only the format and semantics of WINDOW_UPDATE frames,
   and does not specify how the receiver decides when to send frames,
   what values to send, or how the sender chooses to send packets.  And
   RFC 7540 just Specifies the maximum value of Window and the Window
   Size Increment, But there is no obvious rule about minimum values.
   The implementation can choose any algorithm that meets the
   requirements.

   In the current network, there is no standard minimum setting, which
   leads to the inconsistency of message processing between
   communication parties, which may led to the situation that the
   message will be determined as an attack by the recipient, actually
   frequent window_UPDATE frames can result in a denial of service.

Chen & Su                 Expires June 17, 2021                 [Page 2]
Internet-Draft              http2 window size              December 2020

2.  Terminology

   The readers should be familiar with the terms defined in.

   In addition, this document makes use of the following terms:

   Window_update:  The WINDOW_UPDATE frame (type=0x8) is used to
      implement flow control;

   SETTING  The SETTING frame (type=0x4) is used to transmitting
      configuration informations which will affect the communication
      process of the data stream.
Show full document text