vconn-stream: Always call the stream's run function from vconn_stream_run().
authorBen Pfaff <blp@nicira.com>
Fri, 8 Jul 2011 16:11:55 +0000 (09:11 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 8 Jul 2011 16:11:55 +0000 (09:11 -0700)
commit12d685891c72d6009f0303edb94b3b6fabcd6228
tree8ed88ca90d6ce1f5ab2808bdcea18369af68b8ab
parent9bdea45ba4bac25504f3fe23909b656ec6ecc214
vconn-stream: Always call the stream's run function from vconn_stream_run().

The stream's run function ensures that data buffered in the stream itself
gets pushed to the network.  Only the SSL stream class has such a run
function, which means that SSL stream data failed to be pushed to the
remote peer in a timely manner in some cases.

Many thanks to Alex Yip for narrowing this down.

Reported-by: Alex Yip <alex@nicira.com>
Tested-by: Alex Yip <alex@nicira.com>
Bug #6221.
lib/vconn-stream.c