#NEWLINE# def handleEndHeaders( self ) : #NEWLINE# #INDENT# log . info ( 'HTTPConnectClient: Connected to %s:%d via %s:%d' , log . safe_addr_str ( self . host ) , self . port , log . safe_addr_str ( self . proxy_addr . host ) , self . proxy_addr . port ) #NEWLINE# self . setRawMode ( ) #NEWLINE# self . instance = self . instance_factory . buildProtocol ( self . proxy_addr ) #NEWLINE# self . instance . makeConnection ( self . transport ) #NEWLINE# self . deferred . callback ( self . instance ) #NEWLINE# tmp = self . clearLineBuffer ( ) #NEWLINE# if tmp : #NEWLINE# #INDENT# self . instance . dataReceived ( tmp )