def create_connection(self, conn, addr): # ensure that negotiation finishes... if conn.ssl.get_next_protos_negotiated() == b"spdy/3": return spdy_connection(self, conn, addr) else: return connection(self, conn, addr)
def create_connection(self, conn, addr): # ensure that negotiation finishes... if conn.ssl.get_next_protos_negotiated() == b'spdy/3': return spdy_connection(self, conn, addr) else: return connection(self, conn, addr)
def create_connection(self, conn, addr): if conn.next_proto == b"spdy/3": return spdy_connection(self, conn, addr) else: return connection(self, conn, addr)
def create_connection(self, conn, addr): if conn.next_proto == b'spdy/3': return spdy_connection(self, conn, addr) else: return connection(self, conn, addr)