Index: wp-includes/functions-post.php
===================================================================
--- wp-includes/functions-post.php	(revision 2832)
+++ wp-includes/functions-post.php	(working copy)
@@ -154,6 +154,7 @@
 
 	if ($post_status == 'publish') {
 		do_action('publish_post', $post_ID);
+		register_shutdown_function('flush');
 		if ($post_pingback)
 			register_shutdown_function('pingback', $content, $post_ID);
 		register_shutdown_function('do_enclose', $content, $post_ID );

