Fix a bug where you might flush some data on a tls connection, and then
commit195dfd35a80685a1cc545a5a308a588bd2b12220
authorRoger Dingledine <arma@torproject.org>
Fri, 27 Feb 2004 04:42:14 +0000 (27 04:42 +0000)
committerRoger Dingledine <arma@torproject.org>
Fri, 27 Feb 2004 04:42:14 +0000 (27 04:42 +0000)
treeb967b8271b10d6d8355626f3ba73ef4c93675bc7
parentfeafba073dc06ae3deb2e716923f3ec2907115dc
Fix a bug where you might flush some data on a tls connection, and then
add some more data to be flushed but never turn POLLOUT on. not sure
how commonly this bug was hit, but it would be a doozy.

Also add some asserts to see if it happens elsewhere.

svn:r1142
src/or/connection.c
src/or/main.c
src/or/or.h