

def _acknowledge_settings(self):
    '\n        Acknowledge settings that have been received.\n\n        .. versionchanged:: 2.0.0\n           Removed from public API, removed useless ``event`` parameter, made\n           automatic.\n\n        :returns: Nothing\n        '
    self.state_machine.process_input(ConnectionInputs.SEND_SETTINGS)
    changes = self.remote_settings.acknowledge()
    if (INITIAL_WINDOW_SIZE in changes):
        setting = changes[INITIAL_WINDOW_SIZE]
        self._flow_control_change_from_settings(setting.original_value, setting.new_value)
    if (HEADER_TABLE_SIZE in changes):
        setting = changes[HEADER_TABLE_SIZE]
        self.encoder.header_table_size = setting.new_value
    if (MAX_FRAME_SIZE in changes):
        setting = changes[MAX_FRAME_SIZE]
        self.max_outbound_frame_size = setting.new_value
        for stream in self.streams.values():
            stream.max_outbound_frame_size = setting.new_value
    f = SettingsFrame(0)
    f.flags.add('ACK')
    return [f]

dataset/ETHPy150Open python-hyper/hyper-h2/h2/connection.py H2Connection._acknowledge_settings/original