On 23.01.13 05:12, Amos Jeffries wrote:
> IIRC we tried that but it resulted in early cloure of CONNECT tunnels
> and a few other bad side effects on the tunnelled traffic.
> Due to the way tunnel.cc and client_side.cc code interacts (badly) the
> client-side code cannot know whether the tunnel is still operating or
> has data buffered when it gets to the point of emitting that message.
Revisiting this problem, I can't see why keepaliveNextRequest() would be
getting called after a successful CONNECT.
As far as I can tell, client_side_request.cc calls tunnelStart(), and
then does nothing else with the connection. If we can't connect to the
remote host for whatever reason, tunnel.cc calls errorSend() and all the
code paths seem to lead to the socket being closed; if we can connect
then the socket then I don't think client_side_request.cc touches it again.
-- - Steve Hill Technical Director Opendium Limited http://www.opendium.com Direct contacts: Instant messager: xmpp:steve_at_opendium.com Email: steve_at_opendium.com Phone: sip:steve_at_opendium.com Sales / enquiries contacts: Email: sales_at_opendium.com Phone: +44-844-9791439 / sip:sales_at_opendium.com Support contacts: Email: support_at_opendium.com Phone: +44-844-4844916 / sip:support_at_opendium.comReceived on Wed Mar 06 2013 - 16:42:21 MST
This archive was generated by hypermail 2.2.0 : Thu Mar 07 2013 - 12:00:04 MST