관리-도구
편집 파일: _asyncio.cpython-38.pyc
U /?�f� � @ s� d dl Z d dlZd dlZd dlZd dlZd dlZd dlZd dlZd dl Z d dlZ d dlZ d dl mZmZmZmZmZ G dd� de�ZG dd� de�ZG dd� de�ZdS ) � N)�QUIC_MAX_DATAGRAM�AsyncQuicConnection�AsyncQuicManager�BaseQuicStream� UnexpectedEOFc s` e Zd Z� fdd�Zdd� Zdd� Zddd �Zddd�Zd d� Zdd� Z dd� Z dd� Z� ZS )�AsyncioQuicStreamc s t � �||� t�� | _d S �N)�super�__init__�asyncio� Condition�_wake_up)�self� connection� stream_id�� __class__� �?/opt/hc_python/lib/python3.8/site-packages/dns/quic/_asyncio.pyr s zAsyncioQuicStream.__init__c � s4 | j 4 I d H � | j �� I d H W 5 Q I d H R X d S r )r �wait�r r r r �_wait_for_wake_up s z#AsyncioQuicStream._wait_for_wake_upc � sd | � |�}| j�|�rd S || _zt�| �� |�I d H W n tk rV tj j �Y nX d| _q d S )Nr )Z_timeout_from_expiration�_bufferZhaveZ _expectingr �wait_forr �TimeoutError�dns� exception�Timeout)r �amount� expiration�timeoutr r r r "