%PDF- %PDF-
Direktori : /lib/python3/dist-packages/dns/quic/__pycache__/ |
Current File : //lib/python3/dist-packages/dns/quic/__pycache__/_sync.cpython-312.pyc |
� 5��e� � � � d dl Z d dlZd dlZd dlZd dlZd dlZd dlZd dlZd dl Zd dl Zd dlZd dl mZmZmZmZmZ ee d� r e j( Zne j, Z G d� de� Z G d� de� Z G d� d e� Zy) � N)�QUIC_MAX_DATAGRAM�BaseQuicConnection�BaseQuicManager�BaseQuicStream� UnexpectedEOF�PollSelectorc �L � � e Zd Z� fd�Zd� Zd d�Zd d�Zd� Zd� Zd� Z d� Z � xZS )�SyncQuicStreamc � �� t �| � ||� t j � | _ t j � | _ y �N)�super�__init__� threading� Condition�_wake_up�Lock�_lock)�self� connection� stream_id� __class__s ��0/usr/lib/python3/dist-packages/dns/quic/_sync.pyr zSyncQuicStream.__init__ s0 �� � ����Y�/�!�+�+�-�� ��^�^�%�� � c �~ � | j |� }| j 5 | j j |� r d d d � y || _ d d d � | j 5 | j j |� st j j � d d d � d| _ ��# 1 sw Y �\xY w# 1 sw Y �xY w)Nr ) �_timeout_from_expirationr �_buffer�have� _expectingr �wait�dns� exception�Timeout)r �amount� expiration�timeouts r �wait_forzSyncQuicStream.wait_for% s� � ���3�3�J�?�G���� )��<�<�$�$�V�,�� )� )� #)��� )� ��� 0��}�}�)�)�'�2��-�-�/�/�/� 3� 0� �D�O� � )� )�� 0� 0�s �B'�B'� 6B3�'B0�3B<c � � | j |� }| j d|� | j 5 t j d| j j d� � \ }d d d � | j |� | j 5 | j j |� cd d d � S # 1 sw Y �LxY w# 1 sw Y y xY w)N� z!H)�_expiration_from_timeoutr&