Exemple #1
0
 def __init__(self, request_handler, tcp_conn, log=None):
     SpdyMessageHandler.__init__(self)
     self.request_handler = request_handler
     self._tcp_conn = tcp_conn
     self.log = log or dummy
     self._streams = {}
     self._res_body_pause_cb = False
     self.log.debug("new connection %s" % id(self))
Exemple #2
0
 def __init__(self, log=None):
     SpdyMessageHandler.__init__(self)
     self.log = log or dummy
     self._tcp_conn = None
     self._req_body_pause_cb = None  # FIXME: re-think pausing
     self._streams = {}
     self._output_buffer = []
     self._highest_stream_id = -1
Exemple #3
0
 def __init__(self, log=None):
     SpdyMessageHandler.__init__(self)
     self.log = log or dummy
     self._tcp_conn = None
     self._req_body_pause_cb = None  # FIXME: re-think pausing
     self._streams = {}
     self._output_buffer = []
     self._highest_stream_id = -1
Exemple #4
0
 def __init__(self, request_handler, tcp_conn, log=None):
     SpdyMessageHandler.__init__(self)
     self.request_handler = request_handler
     self._tcp_conn = tcp_conn
     self.log = log or dummy
     self._streams = {}
     self._res_body_pause_cb = False
     self.log.debug("new connection %s" % id(self))
     # SPDY has 4 priorities.  write_queue is an array of [0..3], one for each priority.
     self.write_queue = []
     for index in range(0, 4):
         self.write_queue.append([])
     # Write pending when a write to the output queue has been scheduled
     self.write_pending = False
Exemple #5
0
 def __init__(self, request_handler, tcp_conn, log=None):
     SpdyMessageHandler.__init__(self)
     self.request_handler = request_handler
     self._tcp_conn = tcp_conn
     self.log = log or dummy
     self._streams = {}
     self._res_body_pause_cb = False
     self.log.debug("new connection %s" % id(self))
     # SPDY has 4 priorities.  write_queue is an array of [0..3], one for each priority.
     self.write_queue = []
     for index in range(0, 4):
         self.write_queue.append([])
     # Write pending when a write to the output queue has been scheduled
     self.write_pending = False