[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] hold socks reply open until flushed (if possible)



Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/home2/arma/work/onion/cvs/src/or

Modified Files:
	connection.c 
Log Message:
hold socks reply open until flushed (if possible)


Index: connection.c
===================================================================
RCS file: /home/or/cvsroot/src/or/connection.c,v
retrieving revision 1.187
retrieving revision 1.188
diff -u -d -r1.187 -r1.188
--- connection.c	27 Mar 2004 05:45:51 -0000	1.187
+++ connection.c	28 Mar 2004 09:48:21 -0000	1.188
@@ -204,6 +204,7 @@
         log_fn(LOG_INFO,"Cleaning up AP -- sending socks reject.");
         connection_ap_handshake_socks_reply(conn, NULL, 0, 0);
         conn->socks_request->has_finished = 1;
+        conn->hold_open_until_flushed = 1;
       }
       /* fall through, to do things for both ap and exit */
     case CONN_TYPE_EXIT: