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:42:11 +0000 (09:42 -0700)
commitb90546d40ecf15fdeb0c82f31b6a8283fb3f386e
tree57e1abeb2d97ac1a93560080a5222198004e991c
parentdde0c4faf54836833388191b405ac2f81dda4b6c
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