code: func getMaxFrameSize(settings []http2.Setting) uint32 {
  	for _, setting := range settings {
  		if setting.ID == http2.SettingMaxFrameSize {
  			return setting.Val
  		}
  	}
  	return 16384
  }
docs: // getMaxFrameSize returns the SETTINGS_MAX_FRAME_SIZE. If not present default
  // value is 16384 as specified by RFC 7540 Section 6.5.2.