class Async::HTTP::Protocol::HTTP2

def read_in_background(task: Task.current)

def read_in_background(task: Task.current)
	task.async do |nested_task|
		buffer = Async::IO::BinaryString.new
		
		while data = @stream.io.read(1024*8, buffer)
			@controller << data
		end
		
		Async.logger.debug(self) {"Connection reset by peer!"}
	end
end