def __init__ (self, server, conn, addr, module): ftp_channel.__init__(self,server,conn,addr) requestCloseOnExec(conn) self.module=module self.userid='' self.password='' self.path='/' self.cookies={}
def __init__(self, server, conn, addr, module): ftp_channel.__init__(self, server, conn, addr) requestCloseOnExec(conn) self.module = module self.userid = '' self.password = '' self.path = '/' self.cookies = {}
def __init__(self, server, sock, addr): self.server = server self.addr = addr asynchat.async_chat.__init__(self, sock) requestCloseOnExec(sock) self.env = {} self.data = StringIO() self.set_terminator(10) self.size = None self.done = None
def __init__(self,server,sock,addr): self.server = server self.addr = addr asynchat.async_chat.__init__ (self, sock) requestCloseOnExec(sock) self.env={} self.data=StringIO() self.set_terminator(10) self.size=None self.done=None
def __init__(self, server, sock, addr): self.server = server self.addr = addr asynchat.async_chat.__init__(self, sock) requestCloseOnExec(sock) self.setInitialState() self.remainingRecs = 1 # We have to read at least one self.env = {} self.stdin = StringIO() self.filterData = StringIO() # not currently used, but maybe someday self.requestId = 0
def __init__(self, server, conn, addr): http_channel.__init__(self, server, conn, addr) if isinstance(self.producer_fifo, (fifo, asynchat.fifo)): self.producer_fifo_push = self.producer_fifo.push self.producer_fifo_first = self.producer_fifo.first self.producer_fifo_pop = self.producer_fifo.pop else: self.producer_fifo_push = self.producer_fifo.append def first(): return self.producer_fifo[0] self.producer_fifo_first = first def pop(): del self.producer_fifo[0] self.producer_fifo_pop = pop requestCloseOnExec(conn) self.queue = [] self.working=0 self.max_header_len = getConfiguration().http_header_max_length
def create_socket(self, family, type): asyncore.dispatcher.create_socket(self, family, type) requestCloseOnExec(self.socket)
def __init__(self, server, conn, addr): http_channel.__init__(self, server, conn, addr) requestCloseOnExec(conn) self.queue=[] self.working=0
def __init__(self, server, conn, addr): http_channel.__init__(self, server, conn, addr) requestCloseOnExec(conn) self.queue=[] self.working=0 self.max_header_len = getConfiguration().http_header_max_length