verify_ctx = None
if self.soa_response_params['tsig']:
- # xfrin (curreently) always uses TCP. strip off the length field.
+ # xfrin (currently) always uses TCP. strip off the length field.
query_data = self.conn.query_data[2:]
query_message = Message(Message.PARSE)
query_message.from_wire(query_data)
sock_map, zone_name, rrclass, datasrc_client, db_file,
shutdown_event, master_addrinfo, tsig_key = None,
verbose=False, idle_timeout=60):
- '''Constructor of the XfirnConnection class.
+ '''Constructor of the XfrinConnection class.
idle_timeout: max idle time for read data from socket.
datasrc_client: the data source client object used for the XFR session.
asyncore.dispatcher.__init__(self, map=sock_map)
- # The XFR state. Coceptually this is purely private, so we emphasize
+ # The XFR state. Conceptually this is purely private, so we emphasize
# the fact by the double underscore. Other classes are assumed to
# get access to this via get_xfrstate(), and only XfrinState classes
# are assumed to be allowed to modify it via __set_xfrstate().