summaryrefslogtreecommitdiffstats
path: root/native_client_sdk/src/examples/httpd.py
diff options
context:
space:
mode:
Diffstat (limited to 'native_client_sdk/src/examples/httpd.py')
-rwxr-xr-xnative_client_sdk/src/examples/httpd.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/native_client_sdk/src/examples/httpd.py b/native_client_sdk/src/examples/httpd.py
index 2ad1d49..e715f5b 100755
--- a/native_client_sdk/src/examples/httpd.py
+++ b/native_client_sdk/src/examples/httpd.py
@@ -67,6 +67,8 @@ class QuittableHTTPServer(SocketServer.ThreadingMixIn,
self.is_running = True
self.timeout = timeout
while self.is_running:
+ sys.stderr.flush()
+ sys.stdout.flush()
self.handle_request()
def shutdown(self):